diff options
Diffstat (limited to 'modules/gdscript/gd_parser.h')
-rw-r--r-- | modules/gdscript/gd_parser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gdscript/gd_parser.h b/modules/gdscript/gd_parser.h index ae43a26f5a..50b84d389a 100644 --- a/modules/gdscript/gd_parser.h +++ b/modules/gdscript/gd_parser.h @@ -183,6 +183,7 @@ public: //call/constructor operator OP_CALL, OP_PARENT_CALL, + OP_YIELD, OP_EXTENDS, //indexing operator OP_INDEX, @@ -225,7 +226,7 @@ public: OP_ASSIGN_BIT_XOR, OP_BIT_AND, OP_BIT_OR, - OP_BIT_XOR + OP_BIT_XOR, }; Operator op; @@ -258,6 +259,7 @@ public: Node* condition; AssertNode() { type=TYPE_ASSERT; } }; + struct NewLineNode : public Node { int line; NewLineNode() { type=TYPE_NEWLINE; } |