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 2.1 by greg, Tue Nov 12 16:54:41 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 int     advance(), cclass();
32 +
33   static char    expbuf[ESIZE];
34   static int     iflag;
35   static int     circf;
# Line 241 | Line 247 | register char *ep;
247                  return(0);
248  
249          case CBRC:
250 <                if (lp == expbuf)
250 >                if (lp == alp)
251                          continue;
252                  if ((isalnum(*lp) || *lp == '_') && !(isalnum(lp[-1]) || lp[-1] == '_'))
253                          continue;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines