diff options
author | Zefram <zefram@fysh.org> | 2017-11-10 02:07:46 +0000 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2017-11-10 02:12:38 +0000 |
commit | 29d69c3c41c7e93f884256b1087face64d5fdd1e (patch) | |
tree | 5c0108ddd1fc112b404980837e6608abb8d6059b /perly.h | |
parent | c6fbd3534700ea217d0e7553adb13aaaf116c6a6 (diff) | |
download | perl-29d69c3c41c7e93f884256b1087face64d5fdd1e.tar.gz |
parse yada-yada only as a statement
Commit f5727a1c71878a34f6255eb1a506c0b21af7d36f tried to make yada-yada
be parsed consistently as a term expression, but actually things are
more complicated than that. The tokeniser didn't accept yada-yada in
the right contexts to make it usable as an expression, and changing
that would require decisions on resolving ambiguities between yada-yada
and flip-flop. It's also documented as being a statement rather than
an expression, though with some incorrect information about ambiguities.
Overall it looks more like the intent was for yada-yada to be a statement.
This commit makes it grammatically treated as such, and also fixes up
the dubious parts of the documentation. [perl #132150]
Diffstat (limited to 'perly.h')
-rw-r--r-- | perly.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -181,6 +181,6 @@ int yyparse (void); /* Generated from: - * 68a62998f7c607d7a1fa0fdf2d16ec19074c256dde18dfc475daff70d378e025 perly.y + * 4667736d3c31a5169bab73c89d70a27dbce5ea4fe7e3c332a236f8a210aafdc2 perly.y * 153cba5d215c1a083a0459c43f4d55c45fd0a7093c197d7247a456dcde21ea53 regen_perly.pl * ex: set ro: */ |