projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4 release
[unix-history]
/
usr
/
src
/
cmd
/
expr.y
diff --git
a/usr/src/cmd/expr.y
b/usr/src/cmd/expr.y
index
c31facf
..
f98907f
100644
(file)
--- a/
usr/src/cmd/expr.y
+++ b/
usr/src/cmd/expr.y
@@
-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; *operator
s
[i]; ++i)
+ if(EQL(operator
s
[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)
{