summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-07-28 14:06:34 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-08-06 14:55:10 +0100
commit0a2b3d8846bc5c68e42def5b83d657754b4d07ce (patch)
tree7390a273af73b7e68802aa755c4c029985b7ba72 /perly.y
parent68932db140076f5a7aa243f78fc4fc963acc09b5 (diff)
downloadperl-0a2b3d8846bc5c68e42def5b83d657754b4d07ce.tar.gz
Bump minimum required Bison version to 2.4
This lets us replace the deprecated `%pure-parser` directive with `%define api.pure`, and get rid of some other conditional code. Bison is only required for developers hacking on the grammar, since we check in the generated code. Bison 2.4 was released in 2008, and is included in operating systems as old as Red Hat Enterprise Linux 6.
Diffstat (limited to 'perly.y')
-rw-r--r--perly.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.y b/perly.y
index 191341fbec..843a3b18bb 100644
--- a/perly.y
+++ b/perly.y
@@ -31,7 +31,7 @@
/* Make the parser re-entrant. */
-%pure-parser
+%define api.pure
%start grammar