]> granicus.if.org Git - postgresql/commitdiff
One more fix confusion
authorTeodor Sigaev <teodor@sigaev.ru>
Fri, 5 Dec 2003 15:37:51 +0000 (15:37 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Fri, 5 Dec 2003 15:37:51 +0000 (15:37 +0000)
contrib/tsearch2/wordparser/parser.l

index fd8244817a7be63626a6e59e0a52f15967f803ce..e36c19355c53700859320c314978845e382fa230 100644 (file)
@@ -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;