[postgis-tickets] r17240 - Add initialization to lexer

Paul Ramsey pramsey at cleverelephant.ca
Mon Feb 11 09:34:48 PST 2019


Author: pramsey
Date: 2019-02-11 09:34:48 -0800 (Mon, 11 Feb 2019)
New Revision: 17240

Modified:
   branches/2.3/liblwgeom/lwin_wkt_lex.l
Log:
Add initialization to lexer 
References #4017


Modified: branches/2.3/liblwgeom/lwin_wkt_lex.l
===================================================================
--- branches/2.3/liblwgeom/lwin_wkt_lex.l	2019-02-11 17:20:16 UTC (rev 17239)
+++ branches/2.3/liblwgeom/lwin_wkt_lex.l	2019-02-11 17:34:48 UTC (rev 17240)
@@ -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