From: Paul Ramsey Date: Tue, 13 Feb 2018 17:52:29 +0000 (+0000) Subject: Use -p call in bison instead of name-prefix in .y file X-Git-Tag: 2.5.0alpha~129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79c879e0a411d39134c10d0817e7e5852f4c13d6;p=postgis 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 --- diff --git a/liblwgeom/Makefile.in b/liblwgeom/Makefile.in index b058a8e2e..d14dc6b36 100644 --- a/liblwgeom/Makefile.in +++ b/liblwgeom/Makefile.in @@ -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 diff --git a/liblwgeom/lwin_wkt_parse.y b/liblwgeom/lwin_wkt_parse.y index 359725f0b..c693ab278 100644 --- a/liblwgeom/lwin_wkt_parse.y +++ b/liblwgeom/lwin_wkt_parse.y @@ -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;