diff --git a/src/gsc/compiler.cpp b/src/gsc/compiler.cpp index a33155c6..8680fb50 100644 --- a/src/gsc/compiler.cpp +++ b/src/gsc/compiler.cpp @@ -123,6 +123,7 @@ auto compiler::emit_decl_function(decl_function const& func) -> void label_idx_ = 0; can_break_ = false; can_continue_ = false; + scopes_.clear(); stackframe_.clear(); break_blks_.clear(); continue_blks_.clear();