diff options
| author | Andreas Haas | 2016-06-24 17:45:59 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-06-25 02:04:27 +0200 |
| commit | f7436c7d160f4afd6bf17d68609e18bc56106628 (patch) | |
| tree | 9e7e5d699c0f0d566e8bde37482a5c51a0225eb5 /modules/gdscript/gd_script.cpp | |
| parent | c015341221bfa1fbb64067ce0499ce5b1527ee37 (diff) | |
| download | godot-f7436c7d160f4afd6bf17d68609e18bc56106628.tar.gz godot-f7436c7d160f4afd6bf17d68609e18bc56106628.tar.zst godot-f7436c7d160f4afd6bf17d68609e18bc56106628.zip | |
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)
Diffstat (limited to '')
| -rw-r--r-- | modules/gdscript/gd_script.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index f840f7a9a..b9d5910ea 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -2687,6 +2687,7 @@ void GDScriptLanguage::get_reserved_words(List<String> *p_words) const { "false", "float", "int", + "bool", "null", "PI", "self", |
