-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix LOOKAHEAD for ReferenceType; fixes #2879 #2904
Conversation
Good shout, thanks @mernst ! :) How do you feel about using Depending on the generated parser code, I imagine yours may be a little more performant though? |
Codecov Report
@@ Coverage Diff @@
## master #2904 +/- ##
=======================================
Coverage 52.19% 52.19%
=======================================
Files 438 438
Lines 23436 23436
Branches 3535 3535
=======================================
Hits 12232 12232
Misses 10291 10291
Partials 913 913
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
javaparser-core-testing/src/test/java/com/github/javaparser/JavaParserTest.java
Show resolved
Hide resolved
I think that would work. It does seem less efficient since it requires lookahead through the entire reference type rather than only looking ahead far enough to distinguish the shift conflict. |
Travis is being a pain with queues/delays, so merging without waiting for it :) |
@MysterAitch Thanks for merging. |
@mernst Thank you for giving me something to merge!! It really is appreciated 👍 |
Fixes #2879.