From d15511725acdfe90f9d5967119294b591becd8fa Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Wed, 15 Feb 2023 17:41:46 +0300 Subject: GDScript: Fix `MIN_INT` not representable as numeric literal --- modules/gdscript/gdscript_tokenizer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/gdscript/gdscript_tokenizer.h') 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 error_stack; bool pending_newline = false; + Token last_token; Token last_newline; int pending_indents = 0; List indent_stack; -- cgit v1.2.3