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

Comparing ray/src/common/calexpr.c (file contents):
Revision 1.14 by greg, Thu Aug 8 13:40:09 1991 UTC vs.
Revision 1.15 by greg, Wed Aug 14 08:18:14 1991 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1986 Regents of the University of California */
1 > /* Copyright (c) 1991 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 444 | Line 444 | getname()                      /* scan an identifier */
444      for (i = 0; i < MAXWORD && isid(lnext); i++, lnext = scan())
445          str[i] = lnext;
446      str[i] = '\0';
447 +    while (isid(lnext))         /* skip rest of name */
448 +        lnext = scan();
449  
450      return(str);
451   }
# Line 627 | Line 629 | getE5()                                /* E5 -> (E1) */
629   #endif
630  
631   #if  defined(VARIABLE) || defined(FUNCTION)
632 <    if (isalpha(nextc)) {
632 >    if (isalpha(nextc) || nextc == CNTXMARK) {
633          nam = getname();
634   #if  defined(VARIABLE) && defined(FUNCTION)
635          ep1 = NULL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines