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

Error of token position of lines preceded by inline comments #54

Closed
bloriot97 opened this issue Sep 13, 2018 · 0 comments
Closed

Error of token position of lines preceded by inline comments #54

bloriot97 opened this issue Sep 13, 2018 · 0 comments

Comments

@bloriot97
Copy link
Contributor

bloriot97 commented Sep 13, 2018

When a line is preceded by an inline comment the position of lines tokens are decreased by one.

   ...
   static JavaVersion get(final String nom) { // position (xx, 5)
   ...
   // comment
   static JavaVersion get(final String nom) { // position (xx, 4)
@bloriot97 bloriot97 changed the title Error of token position of lines preceded by in-line comments Error of token position of lines preceded by inline comments Sep 13, 2018
bloriot97 pushed a commit to bloriot97/javalang that referenced this issue Sep 28, 2018
c2nes added a commit that referenced this issue Oct 20, 2018
Error of token position of lines preceded by inline comments (issue #54)
@c2nes c2nes closed this as completed Oct 20, 2018
leod pushed a commit to leod/javalang that referenced this issue Jun 3, 2023
leod pushed a commit to leod/javalang that referenced this issue Jun 3, 2023
Error of token position of lines preceded by inline comments (issue c2nes#54)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants