diff options
author | George Marques <george@gmarqu.es> | 2020-08-07 14:51:56 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2020-09-01 14:36:22 -0300 |
commit | 745ca3059dc415907123673492be00e741d51f6c (patch) | |
tree | 23636609e22de7afa9a9a7a81d0e9bdb1e171a6f /modules/gdscript/gdscript_parser.h | |
parent | 82273ebc0122e205b42ed6bad998d10ba74d7e0b (diff) |
Change GDScript compiler to use codegen abstraction
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 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<bool> multiline_stack; |