-
Notifications
You must be signed in to change notification settings - Fork 217
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 file name in errors when using .import #160
Comments
athas
added a commit
to diku-dk/rars
that referenced
this issue
Sep 23, 2022
This means that ProgramStatements now refer to the file they actually occur in, like is the case for the original SourceLine. This is used for various diagnostics messages. Fixes TheThirdOne#160.
athas
added a commit
to diku-dk/rars
that referenced
this issue
Sep 23, 2022
The sourceProgram is not correct for statements that come from an .include, and the assembler depends on the sourceProgram actually being the "top-level" program, not the actual file. Fixes TheThirdOne#160.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suppose foo.s:
And bar.s:
Then if you run
java -jar rars.jar foo.s
you will get an error reading:But actually the error is in
bar.s
! The line number is correct, though.The text was updated successfully, but these errors were encountered: