summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2016-06-24 17:45:59 +0200
committerAndreas Haas <liu.gam3@gmail.com>2016-06-24 17:47:19 +0200
commitc871cf68012f833d33be9f1c9bcc59dea6a7a030 (patch)
tree8f4864cb59f264ebf3b767be4d3d027651ad892a
parent95e3279d34fd99bf816a19a7c0dc5a2d58e418e6 (diff)
Add "bool" to GDScript reserverd keywords
Noticed that "bool" wasn't highlighted when used like `export(bool) var is_xy = false`
-rw-r--r--modules/gdscript/gd_script.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp
index 026fd04869..e37a2ca155 100644
--- a/modules/gdscript/gd_script.cpp
+++ b/modules/gdscript/gd_script.cpp
@@ -1709,6 +1709,7 @@ void GDScriptLanguage::get_reserved_words(List<String> *p_words) const {
"false",
"float",
"int",
+ "bool",
"null",
"PI",
"self",