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