From 8023ec242f1442159ba68d793447b9b3dc8db0aa Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Mon, 14 Mar 2016 16:22:34 -0400 Subject: Automatically generate parser.h. * 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. --- lexxer.l | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lexxer.l') diff --git a/lexxer.l b/lexxer.l index 7ff5677..c71f85a 100644 --- a/lexxer.l +++ b/lexxer.l @@ -85,6 +85,8 @@ FileName ({QString}|{AString}) extern YYSTYPE yylval; /* added by rm */ +extern void yyerror(const char *); + int lineno; char *inname; -- cgit v1.2.3