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

Line numbers in 8080 compiler messages are (+1) #193

Closed
vbmacher opened this issue Feb 15, 2021 · 1 comment
Closed

Line numbers in 8080 compiler messages are (+1) #193

vbmacher opened this issue Feb 15, 2021 · 1 comment

Comments

@vbmacher
Copy link
Collaborator

E.g. a program:

mvi a, c

produces the following messages:

Compiling started...
[Info   ] Intel 8080 Assembler, version 0.41-SNAPSHOT
[Error  ] (  2,  8) Syntax error: ('c')
[Error  ] Compilation error: One or more errors has been found, cannot continue.
Compiling has finished.

It should say ( 1, 8)

@vbmacher vbmacher added the bug label Feb 15, 2021
@vbmacher vbmacher added this to the 0.41 milestone Feb 15, 2021
@vbmacher
Copy link
Collaborator Author

It's fixed now:

[Info   ] Intel 8080 Assembler, version 0.41-SNAPSHOT
[Error  ] (  1,  7) [1,7] no viable alternative at input 'mvi a, c'
Compiling has finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant