twlevo asked the following question:
Is ]b4_pre_prologue[ different in yacc mode? Try the program at the end of this message with and without the `%glr-parser' line. is this correct? Thanks. line 177 glr.c, line 170 yacc.c ]b4_pre_prologue[ -------- /* */ %glr-parser %{ /* * pre prologue copied in y.tab.h file * at GLR parser mode and `bison -d' * option is used. * * but not copied at yacc parser mode. */ #include <stdio.h> void something (void) { return; } %} %token ONETOKEN %union { int number; } %{ /* * post prologue */ %} %% start: ; %%