From 95c0909290508620bd330c2b4f7120c92cd73f0c Mon Sep 17 00:00:00 2001 From: George Marques Date: Thu, 11 Jun 2020 19:31:28 -0300 Subject: Add warning checks in GDScript analyzer Reenable checking those when validating code. --- core/script_language.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/script_language.h') diff --git a/core/script_language.h b/core/script_language.h index 314b047027..6ba38399a1 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -294,7 +294,8 @@ public: /* EDITOR FUNCTIONS */ struct Warning { - int line; + int start_line = -1, end_line = -1; + int leftmost_column = -1, rightmost_column = -1; int code; String string_code; String message; -- cgit v1.2.3