[postgis-tickets] r17238 - Add lexer initialization
Paul Ramsey
pramsey at cleverelephant.ca
Mon Feb 11 09:20:06 PST 2019
Author: pramsey
Date: 2019-02-11 09:20:06 -0800 (Mon, 11 Feb 2019)
New Revision: 17238
Modified:
branches/2.4/liblwgeom/lwin_wkt_lex.l
Log:
Add lexer initialization
References #4017
Modified: branches/2.4/liblwgeom/lwin_wkt_lex.l
===================================================================
--- branches/2.4/liblwgeom/lwin_wkt_lex.l 2019-02-11 17:18:56 UTC (rev 17237)
+++ branches/2.4/liblwgeom/lwin_wkt_lex.l 2019-02-11 17:20:06 UTC (rev 17238)
@@ -118,6 +118,7 @@
*/
void wkt_lexer_init(char *src)
{
+ yy_init_globals();
wkt_yy_buf_state = wkt_yy_scan_string(src);
}
More information about the postgis-tickets
mailing list