From 745ca3059dc415907123673492be00e741d51f6c Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 7 Aug 2020 14:51:56 -0300 Subject: Change GDScript compiler to use codegen abstraction --- 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 7d8ae7fc55..4c9473c7bd 100644 --- a/modules/gdscript/gdscript_parser.h +++ b/modules/gdscript/gdscript_parser.h @@ -609,6 +609,7 @@ public: }; struct ContinueNode : public Node { + bool is_for_match = false; ContinueNode() { type = CONTINUE; } @@ -1079,6 +1080,7 @@ private: bool panic_mode = false; bool can_break = false; bool can_continue = false; + bool is_continue_match = false; // Whether a `continue` will act on a `match`. bool is_ignoring_warnings = false; List multiline_stack; -- cgit v1.2.3