[ruby/prism] Update src/prism.c
https://github.com/ruby/prism/commit/544df5835f
This commit is contained in:
parent
f6e0a037aa
commit
db78ab5ed2
Notes:
git
2024-12-16 15:51:41 +00:00
@ -14215,7 +14215,7 @@ parse_arguments(pm_parser_t *parser, pm_arguments_t *arguments, bool accepts_for
|
||||
arguments->block = argument;
|
||||
}
|
||||
|
||||
if (parser->current.type == PM_TOKEN_COMMA) {
|
||||
if (match1(parser, PM_TOKEN_COMMA)) {
|
||||
pm_parser_err_current(parser, PM_ERR_ARGUMENT_AFTER_BLOCK);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user