summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-15 01:45:43 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-15 01:50:34 +0200
commitc0e4d7efca7eb24e91783a0ee15ac0ef0248833c (patch)
tree2a116dbb186f1158d75633e251fccd2c4853ed86 /modules/gdscript/gdscript.h
parent1e9b46d6877acd1b397be83f5264bf1511c56407 (diff)
downloadredot-engine-c0e4d7efca7eb24e91783a0ee15ac0ef0248833c.tar.gz
Add GDScript slave keyword deprecation warning.
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r--modules/gdscript/gdscript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h
index 739d18569f..d795500265 100644
--- a/modules/gdscript/gdscript.h
+++ b/modules/gdscript/gdscript.h
@@ -289,6 +289,7 @@ struct GDScriptWarning {
UNSAFE_METHOD_ACCESS, // Function not found in the detected type (but can be in subtypes)
UNSAFE_CAST, // Cast used in an unknown type
UNSAFE_CALL_ARGUMENT, // Function call argument is of a supertype of the require argument
+ DEPRECATED_KEYWORD, // The keyword is deprecated and should be replaced
WARNING_MAX,
} code;
Vector<String> symbols;