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

Comparing ray/src/rt/func.c (file contents):
Revision 2.40 by greg, Fri Feb 23 03:45:52 2024 UTC vs.
Revision 2.41 by greg, Mon Sep 16 17:31:14 2024 UTC

# Line 148 | Line 148 | getfunc(       /* get function for this modifier */
148                  } else                          /* reference_count++ */
149                          varset(REFVNAME, '=', varvalue(REFVNAME)+1.0);
150          }
151 <        curfunc = NULL;                 /* parse expressions */
151 >        ecurfunc = NULL;                        /* parse expressions */
152          sprintf(sbuf, "%s \"%s\"", ofun[m->otype].funame, m->oname);
153          for (i=0, ne=0; ef && i < na; i++, ef>>=1)
154                  if (ef & 1) {                   /* flagged as an expression? */
# Line 157 | Line 157 | getfunc(       /* get function for this modifier */
157                          initstr(arg[i], sbuf, 0);
158                          f->ep[ne++] = getE1();
159                          if (nextc != EOF)
160 <                                syntax("unexpected character");
160 >                                esyntax("unexpected character");
161                  }
162          if (ef)
163                  goto toofew;
# Line 336 | Line 336 | chanvalue(                     /* return channel n to calcomp */
336   )
337   {
338          if (fray == NULL)
339 <                syntax("ray parameter used in constant expression");
339 >                esyntax("ray parameter used in constant expression");
340  
341          if (--n < 0)
342                  goto badchan;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines