Commit 79c879e0 authored by Paul Ramsey's avatar Paul Ramsey

Use -p call in bison instead of name-prefix in .y file

to allow ancient versions of bison to build parser


git-svn-id: http://svn.osgeo.org/postgis/trunk@16379 b70326c6-7e19-0410-871a-916f4a2858ee
parent 829c8166
Pipeline #17487782 passed with stage
in 16 minutes and 25 seconds
......@@ -209,7 +209,7 @@ $(LT_NM_OBJS): %.lo: %.c
$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) $(NUMERICFLAGS) -c -o $@ $<
lwin_wkt_parse.c lwin_wkt_parse.h: lwin_wkt_parse.y
$(YACC) -o'lwin_wkt_parse.c' -d lwin_wkt_parse.y
$(YACC) -p wkt_yy -o'lwin_wkt_parse.c' -d lwin_wkt_parse.y
lwin_wkt_lex.c: lwin_wkt_lex.l
$(LEX) -i lwin_wkt_lex.l
......
......@@ -103,7 +103,6 @@ int lwgeom_parse_wkt(LWGEOM_PARSER_RESULT *parser_result, char *wktstr, int pars
%locations
%error-verbose
%name-prefix "wkt_yy"
%union {
int integervalue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment