Fix smaller error introduced in r39671 refactoring (this check used to be "res == 0").
Thanks to syke for spotting it. svn-id: r39673
This commit is contained in:
parent
86e54ffa58
commit
fc9e5b6beb
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ reg_t kParse(EngineState *s, int funct_nr, int argc, reg_t *argv) {
|
|||
bool res = vocab_tokenize_string(words, string, s->_parserWords, s->_parserSuffixes, &error);
|
||||
s->parser_valid = 0; /* not valid */
|
||||
|
||||
if (res && !words.empty()) {
|
||||
if (!res && !words.empty()) {
|
||||
|
||||
int syntax_fail = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue