1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Adjusted indents

This commit is contained in:
Nobuyoshi Nakada 2019-04-23 20:27:24 +09:00
parent f2cd4f4cd0
commit 89271d4a37
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

22
parse.y
View file

@ -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
{ {
/*%%%*/ /*%%%*/