bug fix
This commit is contained in:
parent
ecc1b3b971
commit
1d443b6b4b
1 changed files with 2 additions and 1 deletions
|
@ -289,7 +289,8 @@ bool opmatch(t,s)
|
|||
was_instantiated = (var[vno].vstate == INSTANTIATED);
|
||||
strcpy(buf,s);
|
||||
if ( (l=lstrip(buf,t->lctxt)) != NULLSTRING && rstrip(l,t->rctxt)) {
|
||||
return vno == 0 || (unify(l,&var[vno]) &&
|
||||
return (vno == 0 && *l == '\0') ||
|
||||
(vno != 0 && unify(l,&var[vno]) &&
|
||||
(was_instantiated || tok_chk(vno)));
|
||||
}
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue