Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39373 - [antlr4] grun tool cannot load parsers
Attached to Project:
Arch Linux
Opened by Mike Pedersen (noctune) - Wednesday, 12 March 2014, 22:27 GMT
Last edited by Guillaume ALAUX (galaux) - Thursday, 13 March 2014, 18:38 GMT
Opened by Mike Pedersen (noctune) - Wednesday, 12 March 2014, 22:27 GMT
Last edited by Guillaume ALAUX (galaux) - Thursday, 13 March 2014, 18:38 GMT
|
DetailsWhen running the grun tool it is unable to find parsers in the same directory. Running it will give this error:
Can't load Expr as lexer or parser This can be reproduced by following the sample found on the ANTLR front page. This is probably due to the /usr/bin/grun file not including the current directory in its classpath. Insted of java -cp /usr/share/java/antlr-complete.jar org.antlr.v4.runtime.misc.TestRig $@ it should be java -cp .:/usr/share/java/antlr-complete.jar org.antlr.v4.runtime.misc.TestRig $@ This should make it possible for the grun tool to find any parsers in the same directory. |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Thursday, 13 March 2014, 18:38 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in 4.2-3
Thursday, 13 March 2014, 18:38 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in 4.2-3
Comment by Guillaume ALAUX (galaux) -
Thursday, 13 March 2014, 18:38 GMT
Nice: I've just pushed the fix. Thanks.