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

More parser compatibility fixes for JavaCC/JJTree #57

Merged
merged 1 commit into from Jun 4, 2021

Conversation

csamak
Copy link
Member

@csamak csamak commented Jun 4, 2021

I'm not sure why STATIC=false was commented out? Without it, generating
the parser with JavaCC does not work.

The Parser constructor taking String throws ParseException (a checked
exception) when generated with JavaCC. I'm not sure why, but the
StringProvider exception does not.

For the pragmaValue changes, unreachable statements were generated. See
http://consoliii.blogspot.com/2014/05/javacc-modern-mode-how-to-resolve.html

With these changes I'm able to use JavaCC and everything passes again.

I'm not sure why STATIC=false was commented out? Without it, generating
the parser with JavaCC does not work.

The Parser constructor taking String throws ParseException (a checked
exception) when generated with JavaCC. I'm not sure why, but the
StringProvider exception does not.

For the pragmaValue changes, unreachable statements were generated. See
http://consoliii.blogspot.com/2014/05/javacc-modern-mode-how-to-resolve.html

With these changes I'm able to use JavaCC and everything passes again.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.042% when pulling 74dcd97 on csamak:master into 93f0a96 on apache:master.

@henrib henrib merged commit 3265f5d into apache:master Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants