diff --git a/Makefile b/Makefile index 42824ead..4595608e 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ build-main: build-lib: cd src; \ yacc -d parse.y; \ - lex scan.l + flex scan.l $(CC) $(CFLAGS) -shared src/*.c -o lib/$(PICRIN_LIB) -I./include -I./extlib -lm clean: diff --git a/src/parse.y b/src/parse.y index 43e1b117..b14f5626 100644 --- a/src/parse.y +++ b/src/parse.y @@ -136,7 +136,7 @@ yy_blob_new(struct parser_control *p, char *dat, int len) void yyerror(struct parser_control *, const char *); %} -%pure_parser +%pure-parser %parse-param {struct parser_control *p} %lex-param {struct parser_control *p}