ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/caldefn.c
(Generate patch)

Comparing ray/src/common/caldefn.c (file contents):
Revision 2.28 by greg, Thu Apr 2 18:00:34 2020 UTC vs.
Revision 2.29 by greg, Mon Aug 31 15:06:20 2020 UTC

# Line 637 | Line 637 | getdefn(void)
637              ep2 = newnode();
638              ep2->type = SYM;
639              ep2->v.name = savestr(getname());
640 +            if (strchr(ep2->v.name, CNTXMARK) != NULL)
641 +                syntax("illegal parameter name");
642              addekid(ep1, ep2);
643          } while (nextc == ',');
644          if (nextc != ')')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines