Allow ANY to be used in a constraint
This commit is contained in:
parent
8c6b9bed00
commit
557ffd0b8b
@ -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…
x
Reference in New Issue
Block a user