From a0438a110b163d752a24ca89cd156e5e1c39cf55 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Mon, 11 Feb 2019 17:34:48 +0000 Subject: [PATCH] Add initialization to lexer References #4017 git-svn-id: http://svn.osgeo.org/postgis/branches/2.3@17240 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/lwin_wkt_lex.l | 1 + 1 file changed, 1 insertion(+) diff --git a/liblwgeom/lwin_wkt_lex.l b/liblwgeom/lwin_wkt_lex.l index 27e90d493..1f20e19ff 100644 --- a/liblwgeom/lwin_wkt_lex.l +++ b/liblwgeom/lwin_wkt_lex.l @@ -118,6 +118,7 @@ void wkt_yyfree (void * ptr ) */ void wkt_lexer_init(char *src) { + yy_init_globals(); wkt_yy_buf_state = wkt_yy_scan_string(src); } -- 2.50.0