Re: [PATCH] Automatically generate parser.h.

2016-03-15 Thread Justus Winter
Quoting Flavio Cruz (2016-03-14 21:22:34) > * Makefile.am: Set AM_YFLAGS to -d to generate parser.h. Add parser.h to > CLEANFILES and include parser.h as a dependency of lexxer.c. > * lexxer.l: Declare yyerror here. > * parser.h: Remove file since yacc will generate the same content > automatically

[PATCH] Automatically generate parser.h.

2016-03-15 Thread Flavio Cruz
* Makefile.am: Set AM_YFLAGS to -d to generate parser.h. Add parser.h to CLEANFILES and include parser.h as a dependency of lexxer.c. * lexxer.l: Declare yyerror here. * parser.h: Remove file since yacc will generate the same content automatically. --- Makefile.am | 6 - lexxer.l| 2 ++