Commit 61c83b64 authored by Ken Thompson's avatar Ken Thompson

sinit.c: recursion in sinit

fixes #1617

R=rsc
CC=golang-dev
https://golang.org/cl/4277059
parent bf91e827
...@@ -203,7 +203,7 @@ walkrange(Node *n) ...@@ -203,7 +203,7 @@ walkrange(Node *n)
hb = nod(OXXX, N, N); hb = nod(OXXX, N, N);
tempname(hb, types[TBOOL]); tempname(hb, types[TBOOL]);
n->ntest = hb; n->ntest = nod(ONE, hb, nodbool(0));
a = nod(OAS2RECV, N, N); a = nod(OAS2RECV, N, N);
a->typecheck = 1; a->typecheck = 1;
a->list = list(list1(hv1), hb); a->list = list(list1(hv1), hb);
......
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