1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:04:41 -07:00

gc: bug267

R=ken2
CC=golang-dev
https://golang.org/cl/1067042
This commit is contained in:
Russ Cox 2010-05-03 15:29:59 -07:00
parent 371b77ad20
commit b5f54db359
3 changed files with 2 additions and 4 deletions

View File

@ -797,6 +797,7 @@ l0:
* i said it was clumsy.
*/
case '(':
case '[':
if(loophack || lstk != nil) {
h = malloc(sizeof *h);
h->v = loophack;
@ -806,6 +807,7 @@ l0:
}
goto lx;
case ')':
case ']':
if(lstk != nil) {
h = lstk;
loophack = h->v;

View File

@ -185,7 +185,3 @@ panic: barCount != 1
panic PC=xxx
BUG
=========== bugs/bug267.go
bugs/bug267.go:14: syntax error: unexpected {, expecting :
BUG