summaryrefslogtreecommitdiff
path: root/regen_perly.pl
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2006-12-03 22:08:57 +0000
committerDave Mitchell <davem@fdisolutions.com>2006-12-03 22:08:57 +0000
commit3797f23dc18fcbec8952adafb4dada635be35c43 (patch)
treea34ed75ce45de7868dae527b6eb0bda0d1627639 /regen_perly.pl
parent432ce8742246acadf2cbd18b5d853ae8e4a260e3 (diff)
downloadperl-3797f23dc18fcbec8952adafb4dada635be35c43.tar.gz
add support for bison 2.3
p4raw-id: //depot/perl@29443
Diffstat (limited to 'regen_perly.pl')
-rw-r--r--regen_perly.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/regen_perly.pl b/regen_perly.pl
index f3b3f59ce3..a046399ab2 100644
--- a/regen_perly.pl
+++ b/regen_perly.pl
@@ -66,10 +66,10 @@ die "$0: must be run on an ASCII system\n" unless ord 'A' == 65;
# the test below to allow that version too. DAPM Feb 04.
my $version = `$bison -V`;
-unless ($version =~ /\b(1\.875[a-z]?|2\.[01])\b/) { die <<EOF; }
+unless ($version =~ /\b(1\.875[a-z]?|2\.[013])\b/) { die <<EOF; }
You have the wrong version of bison in your path; currently 1.875
-2.0 or 2.1 is required. Try installing
+2.0, 2.1 or 2.3 is required. Try installing
http://ftp.gnu.org/gnu/bison/bison-2.1.tar.gz
or similar. Your bison identifies itself as:
@@ -165,6 +165,8 @@ sub extract {
\#line[^\n]+\.c"
|
\#line[^\n]+\.simple"
+ |
+ YY_SYMBOL_PRINT
)
@xms
or die "Can't extract actions from $tmpc_file\n";