bug-bison
[Top][All Lists]
Advanced

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

Re: [GNU Bison 3.0.4] Problem in testsuite 191


From: Akim Demaille
Subject: Re: [GNU Bison 3.0.4] Problem in testsuite 191
Date: Thu, 12 Feb 2015 10:44:41 +0100

Hi Ferdinand,

> Le 10 févr. 2015 à 11:19, Akim Demaille <address@hidden> a écrit :
> 
> Hi Paul, hi Ferdinand,
> 
> FWIW, the testsuite does enforce LC_ALL=C.
> 
> In the present case, I'm unsure about the suggested patch,
> since it uses UTF-8, which might behave unexpectedly on other
> platforms I guess.
> 
> So I'd rather go for something like the following patch:
> 
> commit 8b35712ae3e56e2f1094eb2afb29b0b4dacdb230
> Author: Akim Demaille <address@hidden>
> Date:   Tue Feb 10 11:12:56 2015 +0100
> 
>    tests: be robust to platforms that support UTF-8 even with LC_ALL=C
> 
>    Because musl supports UTF-8 with LC_ALL=C, gcc produces:
> 
>      input.y: In function ‘yyparse’:
> 
>    instead of:
> 
>      input.y: In function 'yyparse':
> 
>    Reported by Ferdinand Thiessen.
>    http://lists.gnu.org/archive/html/bug-bison/2015-02/msg00001.html
> 
>    * tests/synclines.at (AT_SYNCLINES_COMPILE): Skip syncline tests when
>    we can't trust error messages issued about a function body.

Could you tell me if the patch works for you?  You may also try this
tarball if that's easier for you:

http://www.lrde.epita.fr/~akim/private/bison-3.0.4.4-a668.tar.gz





reply via email to

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