Change GDScript compiler to use codegen abstraction

This commit is contained in:
George Marques 2020-08-07 14:51:56 -03:00
parent 82273ebc01
commit 745ca3059d
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D
6 changed files with 1085 additions and 1773 deletions

View file

@ -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;