We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error message should point to location where rule was referenced in imported file, in this case Nested.g4
[mpawlowsky@vmott-mpawlowsky-seas error]$ ant Buildfile: /home/mpawlowsky/error/build.xml
generate: [java] error(56): error.g4:4:8: reference to undefined rule: c
BUILD FAILED /home/mpawlowsky/error/build.xml:3: Java returned: 1
Total time: 0 seconds [mpawlowsky@vmott-mpawlowsky-seas error]$ cat error.g4 grammar Error; import Nested;
[mpawlowsky@vmott-mpawlowsky-seas error]$ cat Nested.g4 grammar Nested;
a: 'a' | c;
The text was updated successfully, but these errors were encountered:
Adding testErrorInImportedGetsRightFilename() test.
Sorry, something went wrong.
Fixes antlr#823. Report unknown rule error in proper file.
2ad9ff6
Successfully merging a pull request may close this issue.
Error message should point to location where rule was referenced in imported file, in this case Nested.g4
[mpawlowsky@vmott-mpawlowsky-seas error]$ ant
Buildfile: /home/mpawlowsky/error/build.xml
generate:
[java] error(56): error.g4:4:8: reference to undefined rule: c
BUILD FAILED
/home/mpawlowsky/error/build.xml:3: Java returned: 1
Total time: 0 seconds
[mpawlowsky@vmott-mpawlowsky-seas error]$ cat error.g4
grammar Error;
import Nested;
[mpawlowsky@vmott-mpawlowsky-seas error]$ cat Nested.g4
grammar Nested;
a:
'a' | c;
The text was updated successfully, but these errors were encountered: