Commit 970d6a14 authored by Ken Thompson's avatar Ken Thompson

initialization of

var a,b int;

R=r
OCL=16318
CL=16318
parent abb95518
......@@ -896,11 +896,15 @@ cgen_as(Node *nl, Node *nr, int op)
if(nl == N)
return;
if(nr == N || isnil(nr)) {
if(nl->op == OLIST) {
cgen_as(nl->left, nr, op);
cgen_as(nl->right, nr, op);
return;
}
tl = nl->type;
if(tl == T)
return;
if(nr == N || isnil(nr)) {
if(isfat(tl)) {
/* clear a fat object */
if(debug['g'])
......@@ -978,6 +982,10 @@ cgen_as(Node *nl, Node *nr, int op)
ullmancalc(nr);
}
tl = nl->type;
if(tl == T)
return;
cgen(nr, nl);
ret:
......
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