Skip to content

Commit

Permalink
Remove "load" as reserved word
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeRanDev committed Dec 18, 2023
1 parent 488e30e commit 8733596
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gdcompiler/GDCompilerInit.hx
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,11 @@ class GDCompilerInit {
/**
List of reserved words found here:
https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html
Added "load" manually? Maybe should remove?
**/
static var _reservedNames = [
"if", "elif", "else", "for", "while", "match", "break", "continue", "pass",
"return", "class", "class_name", "extends", "is", "in", "as", "self", "signal",
"func", "static", "const", "enum", "var", "breakpoint", "load", "preload",
"func", "static", "const", "enum", "var", "breakpoint", "preload",
"await", "yield", "assert", "void", "PI", "TAU", "INF", "NAN",

"void", "bool", "int", "float",
Expand Down

0 comments on commit 8733596

Please sign in to comment.