bug#50469:

2021-09-19 Thread Karl Berry

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-11 Thread Paul Eggert
On 9/11/21 4:03 AM, Kiyoshi KANAZAWA wrote: Failures of flex's make check also disappeared with bison-3.8.1. Thanks for testing, and thanks Akim for writing the patch. I installed it on the automake master branch on Savannah.

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-11 Thread Kiyoshi KANAZAWA
Thank you, Akim. I confirmed failures of automake's make check disappeared with your patch, except for original ones, suchi as FAIL: t/lex-clean-cxx.sh FAIL: t/lex-depend-cxx.sh Tested with both of bison-3.8 & bison-3.8.1. Failures of flex's make check also disappeared with bison-3.8.1. Regard

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-11 Thread Akim Demaille
ssages are const strings, it makes no sense for yyerror to take a `char*`, it should be a `const char*`. Fixes all the failures reported by Kiyoshi Kanazawa. <https://lists.gnu.org/r/bug-bison/2021-09/msg5.html> See bug#50469. * t/cond35.sh, t/silent-many

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-10 Thread Akim Demaille
Hi Sam, > Le 10 sept. 2021 à 18:51, Sam James a écrit : > > Thanks your work on this! Brief comments on version changes: > >> diff --git a/src/parse-gram.c b/src/parse-gram.c >> index 95fe43e0..3bc44dbd 100644 >> --- a/src/parse-gram.c >> +++ b/src/parse-gram.c >> @@ -1,4 +1,4 @@ >> -/* A Bison

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-10 Thread Sam James
> On 10 Sep 2021, at 17:40, Akim Demaille wrote: > > Hi all, > >> Le 9 sept. 2021 à 07:10, Akim Demaille a écrit : >> >> Hi! >> >>> Le 9 sept. 2021 à 00:32, Paul Eggert a écrit : >>> >>> On 9/8/21 2:18 PM, Karl Berry wrote: Just an idea that I don't expect you to adopt, but just to m

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-10 Thread Akim Demaille
Hi all, > Le 9 sept. 2021 à 07:10, Akim Demaille a écrit : > > Hi! > >> Le 9 sept. 2021 à 00:32, Paul Eggert a écrit : >> >> On 9/8/21 2:18 PM, Karl Berry wrote: >>> Just an idea that I don't expect you to adopt, but just to mention -- >>> you could only institute the breaking change if POSIX

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-08 Thread Akim Demaille
Hi! > Le 9 sept. 2021 à 00:32, Paul Eggert a écrit : > > On 9/8/21 2:18 PM, Karl Berry wrote: >> Just an idea that I don't expect you to adopt, but just to mention -- >> you could only institute the breaking change if POSIXLY_CORRECT. That's >> why POSIXLY_CORRECT exists. -k > > I like this id

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-08 Thread Paul Eggert
On 9/8/21 2:18 PM, Karl Berry wrote: Just an idea that I don't expect you to adopt, but just to mention -- you could only institute the breaking change if POSIXLY_CORRECT. That's why POSIXLY_CORRECT exists. -k I like this idea. It insulates us against POSIX decisions and/or indecisions in thi

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-08 Thread Karl Berry
This is definitely a change that may break compatibility in some cases, but it's out of our control: POSIX decided, we just comply. Just an idea that I don't expect you to adopt, but just to mention -- you could only institute the breaking change if POSIXLY_CORRECT. That's why POSIXLY_COR

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-08 Thread Akim Demaille
Hi Paul, Thanks for the quick answer. > Le 8 sept. 2021 à 08:33, Paul Eggert a écrit : > > On 9/7/21 10:31 PM, Akim Demaille wrote: >> However, I don't see a published version of the POSIX Yacc "specs" that >> includes these changes. > > The next POSIX revision is targeted for 2022, according

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-08 Thread Zack Weinberg
On Wed, Sep 8, 2021, at 1:31 AM, Akim Demaille wrote: > One big problem with the Autotools as of today is that they promote > the use of macros/build rules for Yacc, not for Bison. The contract of AC_PROG_YACC is to find something that will generate parsers from POSIX-compliant input; all three of

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-07 Thread Paul Eggert
On 9/7/21 10:31 PM, Akim Demaille wrote: However, I don't see a published version of the POSIX Yacc "specs" that includes these changes. The next POSIX revision is targeted for 2022, according to . I suppose there is still opportunity t

bug#50469: [bison-3.8] bug or side effect to flex & automake

2021-09-07 Thread Akim Demaille
Hi Kiyoshi, > Le 8 sept. 2021 à 04:11, Kiyoshi KANAZAWA a > écrit : > > Hello, > > Installed bison-3.8, but I'm afraid it is has bug or side effect to > flex-2.6.4 & automake-1.16.4. > > $ uname -a > SunOS hidden 5.11 11.3 i86pc i386 i86pc > > $ gcc --version > gcc (GCC) 10.3.0 > > After i