From 29d69c3c41c7e93f884256b1087face64d5fdd1e Mon Sep 17 00:00:00 2001 From: Zefram Date: Fri, 10 Nov 2017 02:07:46 +0000 Subject: 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] --- perly.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perly.h') diff --git a/perly.h b/perly.h index 121fa1d978..43b8885f13 100644 --- a/perly.h +++ b/perly.h @@ -181,6 +181,6 @@ int yyparse (void); /* Generated from: - * 68a62998f7c607d7a1fa0fdf2d16ec19074c256dde18dfc475daff70d378e025 perly.y + * 4667736d3c31a5169bab73c89d70a27dbce5ea4fe7e3c332a236f8a210aafdc2 perly.y * 153cba5d215c1a083a0459c43f4d55c45fd0a7093c197d7247a456dcde21ea53 regen_perly.pl * ex: set ro: */ -- cgit v1.2.1