소스 검색

Add "bool" to GDScript reserverd keywords

Noticed that "bool" wasn't highlighted when used like `export(bool) var is_xy = false`
Andreas Haas 9 년 전
부모
커밋
c871cf6801
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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",