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

[BUG] Using .ENDR after repeat doesn't advance the line number for error messages? #653

Open
cyraid opened this issue Jan 31, 2025 · 0 comments

Comments

@cyraid
Copy link

cyraid commented Jan 31, 2025

It's me again! lol .. I've noticed in my error problem matching that after using .REPEAT and then .ENDR will throw off the line # for error messages:

.REPEAT 4
  NOP
.ENDR
!@#$@#$%@%^11021..0.510651asdfaas$%$@#%%@5%

You expect the error to be on line 4, but an error gets reported for line 3. If you move the garbled line before the .ENDR it still works. I made a 'problemMatcher' for VSCode so it highlights the lines that give me an error, and notice it's been highlighting the wrong line. So I troubleshot it down to .ENDR :D

Low priority for now!

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

No branches or pull requests

1 participant