fixed #4
This commit is contained in:
parent
8b46cef71e
commit
d5f01595b0
2
Makefile
2
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:
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue