Skip to content

Commit

Permalink
Update src/prism.c
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton authored Oct 1, 2024
1 parent 754cf8e commit 544df58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prism.c
Original file line number Diff line number Diff line change
Expand Up @@ -14175,7 +14175,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);
}

Expand Down

0 comments on commit 544df58

Please sign in to comment.