mirror of
https://github.com/golang/go
synced 2024-11-24 23:07:56 -07:00
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:
parent
7a42dddbe6
commit
214ec7b547
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user