Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error for duplicate macro labels (Original author is 0xrusowsky) #7

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

cakevm
Copy link
Owner

@cakevm cakevm commented Jan 8, 2025

Reviving huff-language/huff-rs#308 and add check for duplicate macro labels in macro bodies. This is a very basic implementation that can have more edge cases e.g. functions, macros with same name, etc. But for most users this should help enough. Thanks @0xrusowsky for adding this to huff-rs.

@cakevm cakevm changed the title Add error for duplicate macro labels Add error for duplicate macro labels (Original author is 0xrusowsky) Jan 8, 2025
@cakevm cakevm merged commit 2e3d1a7 into main Jan 8, 2025
6 checks passed
@cakevm cakevm deleted the dup-labels branch January 8, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant