From: Teodor Sigaev Date: Fri, 5 Dec 2003 15:38:30 +0000 (+0000) Subject: One more fix confusion X-Git-Tag: REL7_4_1~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a1485115ed8384b579dfe503a3e114c67b19405;p=postgresql One more fix confusion --- diff --git a/contrib/tsearch2/wordparser/parser.l b/contrib/tsearch2/wordparser/parser.l index fd8244817a..e36c19355c 100644 --- a/contrib/tsearch2/wordparser/parser.l +++ b/contrib/tsearch2/wordparser/parser.l @@ -289,7 +289,7 @@ void tsearch2_end_parse() { /* start parse from string */ void tsearch2_start_parse_str(char* str, int limit) { - if (buf) end_parse(); + if (buf) tsearch2_end_parse(); buf = tsearch2_yy_scan_bytes( str, limit ); tsearch2_yy_switch_to_buffer( buf ); BEGIN INITIAL;