--- ray/src/common/rexpr.c 1991/07/16 10:51:42 1.2 +++ ray/src/common/rexpr.c 1991/11/12 16:54:41 2.1 @@ -28,6 +28,8 @@ static char SCCSid[] = "$SunId$ LBL"; #define memcpy(to,from,len) bcopy(from,to,len) #endif +static int advance(), cclass(); + static char expbuf[ESIZE]; static int iflag; static int circf; @@ -245,7 +247,7 @@ register char *ep; return(0); case CBRC: - if (lp == expbuf) + if (lp == alp) continue; if ((isalnum(*lp) || *lp == '_') && !(isalnum(lp[-1]) || lp[-1] == '_')) continue;