summaryrefslogtreecommitdiff
path: root/regen_perly.pl
diff options
context:
space:
mode:
authorRuslan Zakirov <ruz@bestpractical.com>2013-03-03 12:46:08 +0400
committerDavid Mitchell <davem@iabyn.com>2013-03-03 18:52:19 +0000
commitf5cf236ddbe8e24ed7acd5f0f961253d1500fac3 (patch)
treee503d5850c1f62cdd6f66eb5f65cd93c931c7264 /regen_perly.pl
parent6b89892441718fab3b833492ed0f067af21be823 (diff)
downloadperl-f5cf236ddbe8e24ed7acd5f0f961253d1500fac3.tar.gz
update regen_perly.pl to recognise bison 2.7
Diffstat (limited to 'regen_perly.pl')
-rw-r--r--regen_perly.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/regen_perly.pl b/regen_perly.pl
index a49e30e13f..7907c20a58 100644
--- a/regen_perly.pl
+++ b/regen_perly.pl
@@ -73,11 +73,11 @@ unless ($version) { die <<EOF; }
Could not find a version of bison in your path. Please install bison.
EOF
-unless ($version =~ /\b(1\.875[a-z]?|2\.[013456])\b/) { die <<EOF; }
+unless ($version =~ /\b(1\.875[a-z]?|2\.[0134567])\b/) { die <<EOF; }
You have the wrong version of bison in your path; currently 1.875
-2.0, 2.1, 2.3, 2.4 or 2.5 is required. Try installing
- http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz
+2.0, 2.1, 2.3-2.7 is required. Try installing
+ http://ftp.gnu.org/gnu/bison/bison-2.7.tar.gz
or similar. Your bison identifies itself as:
$version