[postgis-tickets] r17242 - Add initializer to lexer

Paul Ramsey pramsey at cleverelephant.ca
Mon Feb 11 09:35:47 PST 2019


Author: pramsey
Date: 2019-02-11 09:35:47 -0800 (Mon, 11 Feb 2019)
New Revision: 17242

Modified:
   branches/2.2/liblwgeom/lwin_wkt_lex.l
Log:
Add initializer to lexer 
References #4017


Modified: branches/2.2/liblwgeom/lwin_wkt_lex.l
===================================================================
--- branches/2.2/liblwgeom/lwin_wkt_lex.l	2019-02-11 17:34:55 UTC (rev 17241)
+++ branches/2.2/liblwgeom/lwin_wkt_lex.l	2019-02-11 17:35:47 UTC (rev 17242)
@@ -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