diff options
author | Thakee Nathees <thakeenathees@gmail.com> | 2020-03-02 17:02:23 +0530 |
---|---|---|
committer | Thakee Nathees <thakeenathees@gmail.com> | 2020-05-15 03:16:50 +0530 |
commit | c076a2b7e93b67d99a4b76462e4c4e1d92c738c5 (patch) | |
tree | a27e281b1a59f624c5fc8fc50f7c81c15d4191c0 /modules/gdscript/gdscript_parser.h | |
parent | 00949f0c5fcc6a4f8382a4a97d5591fd9ec380f8 (diff) | |
download | redot-engine-c076a2b7e93b67d99a4b76462e4c4e1d92c738c5.tar.gz |
break, continue outside of a loop, match statement handled
Diffstat (limited to 'modules/gdscript/gdscript_parser.h')
-rw-r--r-- | modules/gdscript/gdscript_parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<Node *> statements; Map<StringName, LocalVarNode *> 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 |