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 the other hand creates a file that does
not compile because of undefined symbol YYEOF.

What is your error report?

Are you saying that you cannot boostrap a build of Bison using Byacc?

The Bison source tree contains the generated parse-gram.c file, so I would
expect that you don't need an installation of any kind of Yacc to be
able to build it. (So if it is intended to work with Byacc but doesn't,
it's a problem, but shouldn't be a blocker.)

It is not wrong for Yacc implementations to introduce additional YY*
identifiers; they are in the "Yacc namespace"; sort of like POSIX (or anyone else) can introduce errno macros beginning with E in the <errno.h> header.


Reply via email to