Skip to content

Commit

Permalink
Merge pull request #3247 from mame/fix-copy-paste-error
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton authored Nov 28, 2024
2 parents 80c090e + 7335c62 commit 2b60deb
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 @@ -15096,7 +15096,7 @@ parse_rescues(pm_parser_t *parser, size_t opening_newline_index, const pm_token_
case PM_RESCUES_LAMBDA: context = PM_CONTEXT_LAMBDA_ELSE; break;
case PM_RESCUES_MODULE: context = PM_CONTEXT_MODULE_ELSE; break;
case PM_RESCUES_SCLASS: context = PM_CONTEXT_SCLASS_ELSE; break;
default: assert(false && "unreachable"); context = PM_CONTEXT_BEGIN_RESCUE; break;
default: assert(false && "unreachable"); context = PM_CONTEXT_BEGIN_ELSE; break;
}

else_statements = parse_statements(parser, context, (uint16_t) (depth + 1));
Expand Down

0 comments on commit 2b60deb

Please sign in to comment.