Skip to content

Commit ad7a545

Browse files
committed
Replace tabs in RubyParser.y
1 parent 86e56d4 commit ad7a545

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/java/org/truffleruby/parser/parser/RubyParser.y

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,13 +1406,13 @@ command_args : /* none */ {
14061406
block_arg : tAMPER arg_value {
14071407
$$ = new BlockPassParseNode(support.getPosition($2), $2);
14081408
}
1409-
| tAMPER {
1410-
if (!support.local_id(ParserSupport.FORWARD_ARGS_BLOCK_VAR)) {
1411-
support.yyerror("no anonymous block parameter");
1412-
}
1409+
| tAMPER {
1410+
if (!support.local_id(ParserSupport.FORWARD_ARGS_BLOCK_VAR)) {
1411+
support.yyerror("no anonymous block parameter");
1412+
}
14131413

1414-
$$ = new BlockPassParseNode(lexer.tokline, new LocalVarParseNode(support.getPosition(null), 0, ParserSupport.FORWARD_ARGS_BLOCK_VAR));
1415-
}
1414+
$$ = new BlockPassParseNode(lexer.tokline, new LocalVarParseNode(support.getPosition(null), 0, ParserSupport.FORWARD_ARGS_BLOCK_VAR));
1415+
}
14161416

14171417
opt_block_arg : ',' block_arg {
14181418
$$ = $2;
@@ -2258,7 +2258,7 @@ p_arg : p_expr {
22582258
p_kwargs : p_kwarg ',' p_any_kwrest {
22592259
$$ = support.new_hash_pattern_tail(support.getPosition($1), $1, $3); // p_kwargs_1
22602260
}
2261-
| p_kwarg {
2261+
| p_kwarg {
22622262
$$ = support.new_hash_pattern_tail(support.getPosition($1), $1, null); // p_kwargs_2
22632263
}
22642264
| p_kwarg ',' {

0 commit comments

Comments
 (0)