Skip to content

Commit d03ff2c

Browse files
author
Branislav Zahradník
committed
[parser] bare_statement_for - move remember right after keyword
forming sequence `KW_FOR remember`. Non-terminal `remember` is empty non-terminal with action starting new full lexical scope. Such empty non-terminals, when used in multiple branches, will generate shift/reduce conflict when not appearing after distinguishable sequence of terminals. Change formalizes `KW_FOR` as a keyword starting new lexical scope.
1 parent c7edb9f commit d03ff2c

File tree

4 files changed

+685
-684
lines changed

4 files changed

+685
-684
lines changed

perly.act

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

perly.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)