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

Incorrect handling of labels in a conditional block #94

Closed
envenomator opened this issue Nov 20, 2024 · 1 comment
Closed

Incorrect handling of labels in a conditional block #94

envenomator opened this issue Nov 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@envenomator
Copy link
Owner

This code works:
.if 1
variable: .db 1
.else
variable: .db 0
.endif

But this DOESN'T work, resulting in a 'label allready exists' error
.if 1
variable:
.db 1
.else
variable:.
db 0
.endif

@envenomator envenomator added the bug Something isn't working label Nov 20, 2024
@envenomator envenomator self-assigned this Nov 20, 2024
envenomator added a commit that referenced this issue Nov 20, 2024
…onal block and included testcase with binary math
@envenomator
Copy link
Owner Author

Released as v1.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant