summaryrefslogtreecommitdiff
path: root/perly.act
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-07-27 21:48:11 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-08-06 14:55:10 +0100
commita9d4ef0f970b8b926f41fb1148174640f0c9325b (patch)
tree15c317fd10e9dd260fd81bc4a102ebf7dfa1d24f /perly.act
parent0a2b3d8846bc5c68e42def5b83d657754b4d07ce (diff)
downloadperl-a9d4ef0f970b8b926f41fb1148174640f0c9325b.tar.gz
Add support for Bison versions up to 3.7
This requires copying the `YY_CAST` and `YY_ATTRIBUTE_UNUSED` macros from the generated code, and extracting the `yysymbol_kind_t` enum if it's defined. We must also handle token type names with escaped double-quotes in them, since it now names the `YYEOF` and `YYUNDEF` tokens `"end of file"` and `"invalid token"` instead of `$end` and `$undefined`, respectively.
Diffstat (limited to 'perly.act')
-rw-r--r--perly.act2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.act b/perly.act
index e2c91d4851..465ac4f712 100644
--- a/perly.act
+++ b/perly.act
@@ -2130,5 +2130,5 @@ case 2:
/* Generated from:
* f83d884147747f2d8f5a62eebc4ccd07d71b6b34e5ba1a8d7559526ad864dc97 perly.y
- * 1b401b34e1842dd8814919ea427f1b13abc479699495e6e88f8fe4c7ab2f838f regen_perly.pl
+ * 40aee1e96522879ab043fac10286df9e97b2db0197ad63dc6946ae7a61444afb regen_perly.pl
* ex: set ro: */