1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

GDScript: Fix MIN_INT not representable as numeric literal

This commit is contained in:
Danil Alexeev
2023-02-15 17:41:46 +03:00
parent d2b1474da7
commit d15511725a
4 changed files with 66 additions and 0 deletions

View File

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