From eb481198218399c9f86e5bfe1879757e1aa9a86e Mon Sep 17 00:00:00 2001 From: George Marques Date: Sun, 1 Jul 2018 13:17:40 -0300 Subject: Added system for GDScript warnings - Count and panel per script. - Ability to disable warnings per script using special comments. - Ability to disable warnings globally using Project Settings. - Option to treat enabled warnings as errors. --- modules/gdnative/nativescript/nativescript.cpp | 2 +- modules/gdnative/nativescript/nativescript.h | 2 +- .../pluginscript/pluginscript_language.cpp | 2 +- .../gdnative/pluginscript/pluginscript_language.h | 2 +- modules/gdscript/gdscript.cpp | 172 +++++++++ modules/gdscript/gdscript.h | 45 ++- modules/gdscript/gdscript_editor.cpp | 15 +- modules/gdscript/gdscript_parser.cpp | 429 +++++++++++++++++++-- modules/gdscript/gdscript_parser.h | 24 ++ modules/gdscript/gdscript_tokenizer.cpp | 21 +- modules/gdscript/gdscript_tokenizer.h | 22 ++ modules/mono/csharp_script.h | 2 +- modules/visual_script/visual_script.cpp | 2 +- modules/visual_script/visual_script.h | 2 +- 14 files changed, 700 insertions(+), 42 deletions(-) (limited to 'modules') diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp index 23747af86b..0f3b497c94 100644 --- a/modules/gdnative/nativescript/nativescript.cpp +++ b/modules/gdnative/nativescript/nativescript.cpp @@ -1060,7 +1060,7 @@ Ref