diff options
Diffstat (limited to 'src/parser/parsers.h')
-rw-r--r-- | src/parser/parsers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/parser/parsers.h b/src/parser/parsers.h index 67bd8bddd..be8db49a9 100644 --- a/src/parser/parsers.h +++ b/src/parser/parsers.h @@ -1480,7 +1480,9 @@ template<typename Ctx> Result<> makeThrow(Ctx& ctx, Index pos) { } template<typename Ctx> Result<> makeRethrow(Ctx& ctx, Index pos) { - return ctx.in.err("unimplemented instruction"); + auto label = labelidx(ctx); + CHECK_ERR(label); + return ctx.makeRethrow(pos, *label); } template<typename Ctx> Result<> makeTupleMake(Ctx& ctx, Index pos) { |