Commit a5a68766 authored by Teodor Sigaev's avatar Teodor Sigaev

One more fix confusion

parent 8f678600
...@@ -289,7 +289,7 @@ void tsearch2_end_parse() { ...@@ -289,7 +289,7 @@ void tsearch2_end_parse() {
/* start parse from string */ /* start parse from string */
void tsearch2_start_parse_str(char* str, int limit) { 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 ); buf = tsearch2_yy_scan_bytes( str, limit );
tsearch2_yy_switch_to_buffer( buf ); tsearch2_yy_switch_to_buffer( buf );
BEGIN INITIAL; BEGIN INITIAL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment