diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-27 21:48:11 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-08-06 14:55:10 +0100 |
commit | a9d4ef0f970b8b926f41fb1148174640f0c9325b (patch) | |
tree | 15c317fd10e9dd260fd81bc4a102ebf7dfa1d24f /perly.h | |
parent | 0a2b3d8846bc5c68e42def5b83d657754b4d07ce (diff) | |
download | perl-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.h')
-rw-r--r-- | perly.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,5 +196,5 @@ int yyparse (void); /* Generated from: * f83d884147747f2d8f5a62eebc4ccd07d71b6b34e5ba1a8d7559526ad864dc97 perly.y - * 1b401b34e1842dd8814919ea427f1b13abc479699495e6e88f8fe4c7ab2f838f regen_perly.pl + * 40aee1e96522879ab043fac10286df9e97b2db0197ad63dc6946ae7a61444afb regen_perly.pl * ex: set ro: */ |