summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodor Sigaev2003-12-05 15:37:51 +0000
committerTeodor Sigaev2003-12-05 15:37:51 +0000
commita5a68766e1d863c04089a4d0db67f1363ad1114a (patch)
treefecd40a7944e59771bf54344343026fa570bbb32
parent8f678600c269a056dc0f35b53424649501dcd664 (diff)
One more fix confusion
-rw-r--r--contrib/tsearch2/wordparser/parser.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/wordparser/parser.l b/contrib/tsearch2/wordparser/parser.l
index fd8244817a7..e36c19355c5 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;