mirror of https://github.com/golang/go.git
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