bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison 3.0.3 (stable)


From: Thomas Jahns
Subject: Re: Bison 3.0.3 (stable)
Date: Tue, 20 Jan 2015 16:29:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0

On 01/19/15 18:59, Akim Demaille wrote:
I looked at this more carefully, and I propose the following patch.
These patches are currently in the "next" branch if you want to
try them from git.

This time, the syncline tests should not be skipped.

Initially they got all skipped now.

@@ -92,6 +97,8 @@ AT_CHECK([[$PERL -p -0777 - stderr <<\EOF

    # 2. Normalize the lines we kept.

+  # xlc messages.
+  s/^"(.*?)", line ([\w.]*): /$1:$2: /gm;
    # Remove column.
    s/^([^:]+:\d+)[.:][^:]+:(.+)$/$][1:$][2/gm;
    # Map all combinations of "error: " and "#error: " to "#error ".

After I adjusted the new substitution by replacing

 $1:$2

with

$][1:$][2

because I thought I had spotted the oversight, that still happens:

187: Prologue syncline                               skipped (synclines.at:172)
188: %union syncline                                 skipped (synclines.at:190)
189: %union name syncline                            skipped (synclines.at:230)
190: Postprologue syncline                           skipped (synclines.at:240)
191: Action syncline                                 skipped (synclines.at:264)
192: Epilogue syncline                               skipped (synclines.at:283)
193: %code top syncline                              skipped (synclines.at:300)

If I got it right, this is an M4 script generating a shell script that produces a Perl-script. So there might still be some dragons here. :-)

Regards, Thomas
--
Thomas Jahns
HD(CP)^2
Abteilung Anwendungssoftware

Deutsches Klimarechenzentrum GmbH
Bundesstraße 45a • D-20146 Hamburg • Germany

Phone:  +49 40 460094-151
Fax:    +49 40 460094-270
Email:  Thomas Jahns <address@hidden>
URL:    www.dkrz.de

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]