bug-bison
[Top][All Lists]
Advanced

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

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


From: Kaz Kylheku
Subject: Re: YYEOF shouldn't be defined with bison -y
Date: Tue, 05 Dec 2017 16:16:58 -0800
User-agent: Roundcube Webmail/0.9.2

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 to switch among them, build the program with each one
in turn and run your regression test suite.

That's the main thing here: Yacc parsers are not platforms; this is not
the kind of portability like to a new operating system, chip, or
system board (where you have to plan for the future, because you don't
know what those things will be five years from now). The Yacc
implementations are there, you can get all the ones you care about
onto the development system.




reply via email to

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