-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Error when last line is a line comment #1
Comments
Ter, Can you assign this to me so I can get some experience with making a change in GitHub? George |
Hi George: You can make a pull request with the appropriate changes :) |
parrt
pushed a commit
that referenced
this issue
Sep 4, 2014
teverett
pushed a commit
that referenced
this issue
Mar 16, 2018
Merge pull request #1067 from smwikipedia/master
teverett
pushed a commit
that referenced
this issue
Oct 21, 2020
teverett
pushed a commit
that referenced
this issue
Oct 29, 2020
teverett
pushed a commit
that referenced
this issue
Jan 31, 2022
Merged
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
if the last line of a Java source file is something like:
// my comment (no new line added)
it fails, I guess it's because LINE_COMMENT makes \n mandatory so there is not a match.
The error is:
line 187:0 extraneous input '/' expecting {, 'interface', 'abstract', 'strictfp', '@', 'class', 'public', 'private', 'final', 'static', 'protected', ';', 'enum'}
Thanks.
The text was updated successfully, but these errors were encountered: