bug fix
This commit is contained in:
parent
ecc1b3b971
commit
1d443b6b4b
@ -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…
x
Reference in New Issue
Block a user