gc: fix build (not sure how this edit got lost)

R=ken2, ken
CC=golang-dev
https://golang.org/cl/5449072
This commit is contained in:
Russ Cox 2011-12-02 15:05:45 -05:00
parent 7a42dddbe6
commit 214ec7b547

View File

@ -915,6 +915,7 @@ pexpr_no_paren:
}
| '(' expr_or_type ')' '{' start_complit braced_keyval_list '}'
{
yyerror("cannot parenthesize type in composite literal");
$$ = $5;
$$->right = $2;
$$->list = $6;