Commit ab9db8a5 authored by Russ Cox's avatar Russ Cox

cleanup - delete unneeded vargen++

R=ken
OCL=17394
CL=17394
parent d378321b
...@@ -686,7 +686,6 @@ addvar(Node *n, Type *t, int ctxt) ...@@ -686,7 +686,6 @@ addvar(Node *n, Type *t, int ctxt)
if(ctxt == PEXTERN) { if(ctxt == PEXTERN) {
r = externdcl; r = externdcl;
gen = 0; gen = 0;
vargen++; // just for diffing output against old compiler
} else { } else {
r = autodcl; r = autodcl;
vargen++; vargen++;
...@@ -737,7 +736,6 @@ addtyp(Type *n, int ctxt) ...@@ -737,7 +736,6 @@ addtyp(Type *n, int ctxt)
r = autodcl; r = autodcl;
pushdcl(s); pushdcl(s);
} }
vargen++; // just for diffing output against old compiler
if(s->tblock == block) if(s->tblock == block)
yyerror("type %S redeclared in this block %d", s, block); yyerror("type %S redeclared in this block %d", s, block);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment