Re: YYEOF shouldn't be defined with bison -y

2018-09-13 Thread Akim Demaille
Hi! > Le 18 août 2018 à 15:46, Dimitrios Apostolou a écrit : > > On Sat, 18 Aug 2018 06:39:36 +0200, > Akim Demaille wrote: >> >> There’s something which is not fully clear here: unless _you_ used YYEOF >> somewhere in your code, there’s no reason for the parser not to be >> compilable with

Re: YYEOF shouldn't be defined with bison -y

2018-08-18 Thread Dimitrios Apostolou
On Sat, 18 Aug 2018 06:39:36 +0200, Akim Demaille wrote: > > Hi! > > I’m coming long after the discussion, sorry. > > > Le 5 déc. 2017 à 02:32, Dimitrios Apostolou a écrit : > > > > On Mon, 04 Dec 2017 21:24:40 +0100, > > Kaz Kylheku wrote: > >> > >> On 03.12.2017 18:34, Dimitrios Apostolou

Re: YYEOF shouldn't be defined with bison -y

2018-08-17 Thread Akim Demaille
Hi! I’m coming long after the discussion, sorry. > Le 5 déc. 2017 à 02:32, Dimitrios Apostolou a écrit : > > On Mon, 04 Dec 2017 21:24:40 +0100, > Kaz Kylheku wrote: >> >> On 03.12.2017 18:34, Dimitrios Apostolou wrote: >>> Hello list, >>> >>> I am configuring the build using AC_PROG_YACC,

Re: YYEOF shouldn't be defined with bison -y

2017-12-07 Thread Hans Åberg
> On 5 Dec 2017, at 02:32, Dimitrios Apostolou wrote: > > I am generating a parser as part of a different project, and that project is > configured with AC_PROG_YACC. As such, it invokes Bison with "-y" option, and > I would expect that Bison tries hard to fail when the parser

Re: YYEOF shouldn't be defined with bison -y

2017-12-05 Thread Kaz Kylheku
On 04.12.2017 17:32, Dimitrios Apostolou wrote: Alright, so maybe it's not a bug. But if that's the case, what's the recommended way to ensure that the parser is portable to most yacc flavours? Install the set which represents "most flavors" in your opinion, make your build system flexible

Re: YYEOF shouldn't be defined with bison -y

2017-12-04 Thread Dimitrios Apostolou
On Mon, 04 Dec 2017 21:24:40 +0100, Kaz Kylheku wrote: > > On 03.12.2017 18:34, Dimitrios Apostolou wrote: > > Hello list, > > > > I am configuring the build using AC_PROG_YACC, which invokes bison with "-y" > > option. But bison-generated parser compiled successfully, and YYEOF > > extension >

Re: YYEOF shouldn't be defined with bison -y

2017-12-04 Thread Kaz Kylheku
On 03.12.2017 18:34, Dimitrios Apostolou wrote: Hello list, I am configuring the build using AC_PROG_YACC, which invokes bison with "-y" option. But bison-generated parser compiled successfully, and YYEOF extension in the parser remained undetected. Generating the parser with "byacc" on

YYEOF shouldn't be defined with bison -y

2017-12-03 Thread Dimitrios Apostolou
Hello list, I am configuring the build using AC_PROG_YACC, which invokes bison with "-y" option. But bison-generated parser compiled successfully, and YYEOF extension in the parser remained undetected. Generating the parser with "byacc" on the other hand creates a file that does not compile