Allow ANY to be used in a constraint

This commit is contained in:
ceriel 1987-03-25 08:35:01 +00:00
parent a0897e2ed3
commit 9748f946ce

View file

@ -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;