summaryrefslogtreecommitdiff
path: root/regen_perly.pl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-10-13 09:05:42 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-10-13 09:05:42 +0000
commit2051588124b1d9accc9aeb526746bb222cea5170 (patch)
tree26ea5dfdc19c35b0bce237a57c8825d1fd5423c8 /regen_perly.pl
parentd52fe7da486fd032a82c29ee467dd8504f394b88 (diff)
downloadperl-2051588124b1d9accc9aeb526746bb222cea5170.tar.gz
The new REQUIRE token introduced by change 25599 must be
nonassoc, just like the UNIOP token it's patterned after. (While we're at it, allow to use bison 2.1 to regenerate the parser files.) p4raw-id: //depot/perl@25746
Diffstat (limited to 'regen_perly.pl')
-rw-r--r--regen_perly.pl8
1 files changed, 3 insertions, 5 deletions
diff --git a/regen_perly.pl b/regen_perly.pl
index 02b6ba0845..67f763f455 100644
--- a/regen_perly.pl
+++ b/regen_perly.pl
@@ -65,13 +65,11 @@ 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\.0)\b/) { die <<EOF; }
+unless ($version =~ /\b(1\.875[a-z]?|2\.[01])\b/) { die <<EOF; }
You have the wrong version of bison in your path; currently 1.875
-or 2.0 is required. Try installing
- http://ftp.gnu.org/gnu/bison/bison-2.0.tar.gz
-or
- http://ftp.gnu.org/gnu/bison/bison-1.875.tar.bz2
+2.0 or 2.1 is required. Try installing
+ http://ftp.gnu.org/gnu/bison/bison-2.1.tar.gz
or similar. Your bison identifies itself as:
$version