From c871cf68012f833d33be9f1c9bcc59dea6a7a030 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Fri, 24 Jun 2016 17:45:59 +0200 Subject: [PATCH] Add "bool" to GDScript reserverd keywords Noticed that "bool" wasn't highlighted when used like `export(bool) var is_xy = false` --- modules/gdscript/gd_script.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index 026fd048697..e37a2ca1551 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -1709,6 +1709,7 @@ void GDScriptLanguage::get_reserved_words(List *p_words) const { "false", "float", "int", + "bool", "null", "PI", "self",