mirror of
https://github.com/golang/go
synced 2024-11-26 01:27:58 -07:00
simplify comma code per ken's suggestion
R=ken OCL=17164 CL=17164
This commit is contained in:
parent
7c3a2c47b0
commit
4248607ffe
@ -1607,19 +1607,11 @@ braced_keyexpr_list:
|
||||
{
|
||||
$$ = N;
|
||||
}
|
||||
| keyval_list_r
|
||||
| keyval_list_r ocomma
|
||||
{
|
||||
$$ = rev($1);
|
||||
}
|
||||
| keyval_list_r ','
|
||||
{
|
||||
$$ = rev($1);
|
||||
}
|
||||
| expr_list_r
|
||||
{
|
||||
$$ = rev($1);
|
||||
}
|
||||
| expr_list_r ','
|
||||
| expr_list_r ocomma
|
||||
{
|
||||
$$ = rev($1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user