summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2003-12-05 15:38:30 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2003-12-05 15:38:30 +0000
commit1a1485115ed8384b579dfe503a3e114c67b19405 (patch)
tree02e1c6897543fc25839469314881e9949c88119c
parent84d2ed136ce6c9d1a409bcece7f226b01e0f1994 (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;