perl5
perl5 copied to clipboard
perly - simplify non-terminal bare_statement_for
By extracting various declarations of cursor variable(s) into dedicated non-terminal for statement now contains only 3 branches:
for (;;)for ()for cursor ()
with LALR(1) parser cursor cannot be empty -> it will produce conflict with for (;;) form.
- This set of changes does not require a perldelta entry.