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

Enable yylineno increment on default rule match #526

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ggujjula
Copy link
Contributor

This PR fixes #397 by setting the default rule as having a newline within the rule_has_nl array. This in turn allows the yylineno parsing code to execute when the default action is taken.

…yylineno parsing code when the default action is taken.
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

Successfully merging this pull request may close these issues.

If default rule matches '\n', yylineno isn't updated.
1 participant