via RT | 21 Jun 2012 16:28
Favicon

[perl #113772] [PATCH] 4181468 regen_perly.pl: support latest bison-2.5.1

# New Ticket Created by  rurban <at> cpanel.net 
# Please include the string:  [perl #113772]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=113772 >

This is a bug report for perl from rurban <at> cpanel.net,
generated with the help of perlbug 1.39 running under perl 5.16.0.

>From 418146848b0563d6e7fbd635d5c87ab83b611a11 Mon Sep 17 00:00:00 2001
From: Reini Urban <rurban <at> x-ray.at>
Date: Thu, 21 Jun 2012 09:26:56 -0500
Subject: [PATCH] regen_perly.pl: support latest bison-2.5.1

bison-2.5.1 adds less superfluous semicolons at the end of action blocks,
but works fine.
---
 regen_perly.pl |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/regen_perly.pl b/regen_perly.pl
index dba4178..e0120fa 100644
--- a/regen_perly.pl
+++ b/regen_perly.pl
 <at>  <at>  -73,11 +73,11  <at>  <at>  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\.[0134])\b/) { die <<EOF; }
+unless ($version =~ /\b(1\.875[a-z]?|2\.[01345])\b/) { die <<EOF; }

(Continue reading)


Gmane