Commit 4c5a1658 authored by Ken Thompson's avatar Ken Thompson

len(fixed array)

SVN=128050
parent 0ca551fc
......@@ -613,3 +613,4 @@ void dumpobj(void);
void dowidth(Type*);
void argspace(long);
Node* nodarg(Type*, int);
void nodconst(Node*, Type*, vlong);
......@@ -501,8 +501,11 @@ loop:
default:
goto badt;
case TSTRING:
break;
case TMAP:
case TDARRAY:
break;
case TARRAY:
nodconst(n, types[TINT32], t->bound);
break;
}
n->type = types[TINT32];
......
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