Allow ANY to be used in a constraint
This commit is contained in:
parent
a0897e2ed3
commit
9748f946ce
|
@ -87,6 +87,9 @@ prconstraint(str) char *str; {
|
|||
if (name) { /* yeah, it was a variable */
|
||||
fprintf(genc,"var[%d].value", name->s_num);
|
||||
}
|
||||
else if (!strcmp(p, "ANY")) {
|
||||
fputs("ANY.value", genc);
|
||||
}
|
||||
else fputs(p,genc);
|
||||
/* Now replace null byte with whatever used to be there */
|
||||
*q = c;
|
||||
|
|
Loading…
Reference in a new issue