This commit is contained in:
Yuichi Nishiwaki 2013-11-18 20:24:09 +09:00
parent 8b46cef71e
commit d5f01595b0
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ build-main:
build-lib: build-lib:
cd src; \ cd src; \
yacc -d parse.y; \ yacc -d parse.y; \
lex scan.l flex scan.l
$(CC) $(CFLAGS) -shared src/*.c -o lib/$(PICRIN_LIB) -I./include -I./extlib -lm $(CC) $(CFLAGS) -shared src/*.c -o lib/$(PICRIN_LIB) -I./include -I./extlib -lm
clean: clean:

View File

@ -136,7 +136,7 @@ yy_blob_new(struct parser_control *p, char *dat, int len)
void yyerror(struct parser_control *, const char *); void yyerror(struct parser_control *, const char *);
%} %}
%pure_parser %pure-parser
%parse-param {struct parser_control *p} %parse-param {struct parser_control *p}
%lex-param {struct parser_control *p} %lex-param {struct parser_control *p}