Commit 4248607f authored by Russ Cox's avatar Russ Cox

simplify comma code per ken's suggestion

R=ken
OCL=17164
CL=17164
parent 7c3a2c47
...@@ -1607,19 +1607,11 @@ braced_keyexpr_list: ...@@ -1607,19 +1607,11 @@ braced_keyexpr_list:
{ {
$$ = N; $$ = N;
} }
| keyval_list_r | keyval_list_r ocomma
{ {
$$ = rev($1); $$ = rev($1);
} }
| keyval_list_r ',' | expr_list_r ocomma
{
$$ = rev($1);
}
| expr_list_r
{
$$ = rev($1);
}
| expr_list_r ','
{ {
$$ = rev($1); $$ = rev($1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment