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

Off by one error on yylineno and yylinecol when %option yylineno is used #3

Open
stcarrez opened this issue Jan 28, 2023 · 0 comments
Labels

Comments

@stcarrez
Copy link
Collaborator

When using yylineno and yylinecol to get the location of a token, there is always:

  • a -1 offset for yylineno
  • a +1 offset for yylinecol
@stcarrez stcarrez added the bug label Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant