Browse Source

Add "bool" to GDScript reserverd keywords

Noticed that "bool" wasn't highlighted when used like `export(bool) var is_xy = false`
Andreas Haas 9 years ago
parent
commit
c871cf6801
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/gdscript/gd_script.cpp

+ 1 - 0
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",