Skip to content

Commit

Permalink
fixed continue not working
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhold committed Nov 12, 2023
1 parent 6941698 commit 97abf5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/statements/continue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace statements {
explicit Continue(Token const& continue_token) : m_continue_token{ continue_token } { }

void execute(ScopeStack& scope_stack) const override {
throw BreakException{ m_continue_token };
throw ContinueException{ m_continue_token };
}
};

Expand Down

0 comments on commit 97abf5e

Please sign in to comment.