BSD 4 release
[unix-history] / usr / src / cmd / expr.y
index c31facf..f98907f 100644 (file)
@@ -83,8 +83,8 @@ yylex() {
 
        if(*p == '(' || *p == ')')
                return (int)*p;
 
        if(*p == '(' || *p == ')')
                return (int)*p;
-       for(i = 0; *operator[i]; ++i)
-               if(EQL(operator[i], p))
+       for(i = 0; *operators[i]; ++i)
+               if(EQL(operators[i], p))
                        return op[i];
 
        yylval = p;
                        return op[i];
 
        yylval = p;
@@ -661,6 +661,7 @@ register    count;
        return(1);
 }
 
        return(1);
 }
 
+static char *sccsid = "@(#)expr.y      4.1 (Berkeley) 10/1/80";
 yyerror(s)
 
 {
 yyerror(s)
 
 {