mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adjusted indents
This commit is contained in:
parent
f2cd4f4cd0
commit
89271d4a37
1 changed files with 11 additions and 11 deletions
22
parse.y
22
parse.y
|
@ -3590,16 +3590,16 @@ cases : opt_else
|
||||||
;
|
;
|
||||||
|
|
||||||
p_case_body : keyword_in
|
p_case_body : keyword_in
|
||||||
{
|
{
|
||||||
SET_LEX_STATE(EXPR_BEG|EXPR_LABEL);
|
SET_LEX_STATE(EXPR_BEG|EXPR_LABEL);
|
||||||
p->command_start = FALSE;
|
p->command_start = FALSE;
|
||||||
$<num>$ = p->in_kwarg;
|
$<num>$ = p->in_kwarg;
|
||||||
p->in_kwarg = 1;
|
p->in_kwarg = 1;
|
||||||
}
|
}
|
||||||
p_top_expr then
|
p_top_expr then
|
||||||
{
|
{
|
||||||
p->in_kwarg = !!$<num>2;
|
p->in_kwarg = !!$<num>2;
|
||||||
}
|
}
|
||||||
compstmt
|
compstmt
|
||||||
p_cases
|
p_cases
|
||||||
{
|
{
|
||||||
|
@ -3610,7 +3610,7 @@ p_case_body : keyword_in
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
p_cases : opt_else
|
p_cases : opt_else
|
||||||
| p_case_body
|
| p_case_body
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -3853,7 +3853,7 @@ p_kwargs : p_kwarg ',' p_kwrest
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
p_kwarg : p_kw
|
p_kwarg : p_kw
|
||||||
| p_kwarg ',' p_kw
|
| p_kwarg ',' p_kw
|
||||||
{
|
{
|
||||||
/*%%%*/
|
/*%%%*/
|
||||||
|
|
Loading…
Reference in a new issue