Bell 32V development
[unix-history] / usr / src / cmd / bc.y
index e4dc51a..1e50fc5 100644 (file)
@@ -290,7 +290,7 @@ constant:
 
 CRS    :
                ={ $$ = cp; *cp++ = crs++; *cp++ = '\0';
 
 CRS    :
                ={ $$ = cp; *cp++ = crs++; *cp++ = '\0';
-                       if(crs == '[')crs=+3;
+                       if(crs == '[')crs+=3;
                        if(crs == 'a')crs='{';
                        if(crs >= 0241){yyerror("program too big");
                                getout();
                        if(crs == 'a')crs='{';
                        if(crs >= 0241){yyerror("program too big");
                                getout();
@@ -463,7 +463,7 @@ loop:
 int b_space [ b_sp_max ];
 int * b_sp_nxt = { b_space };
 
 int b_space [ b_sp_max ];
 int * b_sp_nxt = { b_space };
 
-int    bdebug = 0;
+int bdebug = 0;
 bundle(a){
        int i, *p, *q;
 
 bundle(a){
        int i, *p, *q;