From f7436c7d160f4afd6bf17d68609e18bc56106628 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` (cherry picked from commit c871cf68012f833d33be9f1c9bcc59dea6a7a030) --- 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 f840f7a9aad..b9d5910ea7e 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -2687,6 +2687,7 @@ void GDScriptLanguage::get_reserved_words(List *p_words) const { "false", "float", "int", + "bool", "null", "PI", "self",