Commit 5ff7d848 authored by Ken Thompson's avatar Ken Thompson

segment fault

R=rsc
OCL=31396
CL=31396
parent 600d7828
......@@ -790,6 +790,10 @@ loop:
if(top != Erv)
goto nottop;
walktype(n->left, Erv);
if(n->left == N) {
yyerror("missing argument to len");
goto ret;
}
defaultlit(n->left, T);
implicitstar(&n->left);
t = n->left->type;
......
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