From c076a2b7e93b67d99a4b76462e4c4e1d92c738c5 Mon Sep 17 00:00:00 2001 From: Thakee Nathees Date: Mon, 2 Mar 2020 17:02:23 +0530 Subject: break, continue outside of a loop, match statement handled --- modules/gdscript/gdscript_parser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/gdscript/gdscript_parser.h') diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h index cfcca9584e..7dedb6d6f9 100644 --- a/modules/gdscript/gdscript_parser.h +++ b/modules/gdscript/gdscript_parser.h @@ -231,6 +231,8 @@ public: List statements; Map variables; bool has_return = false; + bool can_break = false; + bool can_continue = false; Node *if_condition = nullptr; //tiny hack to improve code completion on if () blocks -- cgit v1.2.3