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

Fix local labels not working after a .msg directive #169

Merged
merged 1 commit into from
May 22, 2020

Conversation

StraDaMa
Copy link
Contributor

@StraDaMa StraDaMa commented May 21, 2020

Currently if you try to use a local label after a .msg directive like this

.gba
.create "test.bin", 0x00000000
start:
cmp r1,0x64
bne @@end
.msg "test"
@@end:
mov r15,r14
.close

it will say that @@end is an undefined label. This change has it generate a local label so it doesn't cause the local labels after it to become invalid.

@sp1187 sp1187 requested a review from Kingcom May 21, 2020 20:04
@Kingcom Kingcom merged commit cf8b1ab into Kingcom:master May 22, 2020
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.

None yet

2 participants