diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-18 16:27:16 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-18 16:27:16 +0200 |
commit | 1ce2425c0efe2c8ce245d62adb3001040e44d0ab (patch) | |
tree | 005801e6ba23ba87e7060bbf41ee2bea98c87b5e /modules/gdscript/gdscript_tokenizer.h | |
parent | 11ee6fcef06beea2a2ff2214003e71a45875a695 (diff) | |
parent | d15511725acdfe90f9d5967119294b591becd8fa (diff) | |
download | redot-engine-1ce2425c0efe2c8ce245d62adb3001040e44d0ab.tar.gz |
Merge pull request #73363 from dalexeev/gds-fix-min-int-not-representable
GDScript: Fix `MIN_INT` not representable as numeric literal
Diffstat (limited to 'modules/gdscript/gdscript_tokenizer.h')
-rw-r--r-- | modules/gdscript/gdscript_tokenizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_tokenizer.h b/modules/gdscript/gdscript_tokenizer.h index 608840d3f1..068393cee9 100644 --- a/modules/gdscript/gdscript_tokenizer.h +++ b/modules/gdscript/gdscript_tokenizer.h @@ -171,6 +171,7 @@ public: String source; const char *get_name() const; + bool can_precede_bin_op() const; bool is_identifier() const; bool is_node_name() const; StringName get_identifier() const { return source; } @@ -216,6 +217,7 @@ private: bool multiline_mode = false; List<Token> error_stack; bool pending_newline = false; + Token last_token; Token last_newline; int pending_indents = 0; List<int> indent_stack; |