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 1.14 by greg, Thu Aug 8 12:12:16 1991 UTC vs.
Revision 1.15 by greg, Thu Aug 8 12:28:30 1991 UTC

# Line 219 | Line 219 | int  lvl;
219   {
220      static char  nambuf[MAXWORD];
221      register char  *cp = nambuf, *cpp = context;
222 +                                /* check for explicit global */
223 +    if (*nam == CNTXMARK)
224 +        return(lvl > 0 ? NULL : nam+1);
225                                  /* check for repeat call */
226      if (nam == nambuf)
227          return(lvl > 0 ? NULL : nambuf);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines