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

Comparing ray/src/common/rexpr.c (file contents):
Revision 1.1 by greg, Sat Dec 8 09:28:17 1990 UTC vs.
Revision 1.3 by greg, Thu Sep 5 15:03:48 1991 UTC

# Line 24 | Line 24 | static char SCCSid[] = "$SunId$ LBL";
24  
25   #define same(a,b) (a==b || (iflag && (a^b)==' ' && isalpha(a)))
26  
27 + #ifdef  BSD
28 + #define  memcpy(to,from,len)    bcopy(from,to,len)
29 + #endif
30 +
31   static char    expbuf[ESIZE];
32   static int     iflag;
33   static int     circf;
# Line 241 | Line 245 | register char *ep;
245                  return(0);
246  
247          case CBRC:
248 <                if (lp == expbuf)
248 >                if (lp == alp)
249                          continue;
250                  if ((isalnum(*lp) || *lp == '_') && !(isalnum(lp[-1]) || lp[-1] == '_'))
251                          continue;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines