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.21 by schorsch, Mon Oct 27 10:19:31 2003 UTC vs.
Revision 2.24 by greg, Fri Mar 5 17:28:46 2010 UTC

# Line 32 | Line 32 | static const char      RCSid[] = "$Id$";
32   #include  <ctype.h>
33  
34   #include  "rterror.h"
35 + #include  "rtio.h"
36   #include  "rtmisc.h"
37   #include  "calcomp.h"
38  
# Line 623 | Line 624 | getdefn(void)
624          do {
625              scan();
626              if (!isalpha(nextc))
627 <                syntax("illegal variable name");
627 >                syntax("illegal parameter name");
628              ep2 = newnode();
629              ep2->type = SYM;
630              ep2->v.name = savestr(getname());
# Line 646 | Line 647 | getdefn(void)
647  
648      if (ep1->type == SYM && ep1->sibling->type != NUM) {
649          ep1 = newnode();
650 <        ep1->type = TICK;
650 >        ep1->type = CLKT;
651          ep1->v.tick = 0;
652          addekid(ep2, ep1);
653          ep1 = newnode();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines