summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 13:10:28 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-10-31 13:10:28 +0100
commit1e0edc48b5c24737a56ca81239e25ae9c0ce9327 (patch)
tree7f06b41e6def5a66dd517facbbe9d14342b582e9
parent4b92533efa69e6ebd96a7ec23ead4fe7cb51b35a (diff)
parent9e04531938ad8320fbe71900ab6621df2319ff66 (diff)
Merge pull request #67826 from Chaosus/gds_fix_enum
Fix enum type to use int64_t instead of int in GDScript
-rw-r--r--modules/gdscript/gdscript_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h
index 1850a44678..f40887ddb8 100644
--- a/modules/gdscript/gdscript_parser.h
+++ b/modules/gdscript/gdscript_parser.h
@@ -469,7 +469,7 @@ public:
EnumNode *parent_enum = nullptr;
int index = -1;
bool resolved = false;
- int value = 0;
+ int64_t value = 0;
int line = 0;
int leftmost_column = 0;
int rightmost_column = 0;