Skip to content

Enable yylineno increment on default rule match #526

Open
ggujjula wants to merge 1 commit intowestes:masterfrom
ggujjula:issue_397
Open

Enable yylineno increment on default rule match #526
ggujjula wants to merge 1 commit intowestes:masterfrom
ggujjula:issue_397

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