Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Compiler doesn't fail on "macro clash" #291

Open
MathisGD opened this issue Aug 12, 2023 · 0 comments · Fixed by #293
Open

Compiler doesn't fail on "macro clash" #291

MathisGD opened this issue Aug 12, 2023 · 0 comments · Fixed by #293
Labels
bug Code Smells good first issue parser Huff Parser Related.

Comments

@MathisGD
Copy link
Contributor

Issue

When two macros with the same name are defined in file (or imported file), the compiler does not throw anything. It doesn't look desirable, because it's not even really clear which of the two macros will be used.

Reproduction

Compile a file with two macros with the same name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Code Smells good first issue parser Huff Parser Related.
Projects
None yet
2 participants