Skip to content

Commit f81c62b

Browse files
committed
Terminate args_tail_basic rule with a semicolon
Semicolon is optional however it clarifies the end of the rule.
1 parent 6f6ea70 commit f81c62b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

parse.y

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2943,6 +2943,7 @@ rb_parser_ary_free(rb_parser_t *p, rb_parser_ary_t *ary)
29432943
$$ = new_args_tail(p, 0, 0, $1, &@1);
29442944
/*% ripper: [Qnil, Qnil, $:1] %*/
29452945
}
2946+
;
29462947

29472948
%rule def_endless_method(bodystmt) <node>
29482949
: defn_head[head] f_opt_paren_args[args] '=' bodystmt

0 commit comments

Comments
 (0)