summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2020-06-11 19:31:28 -0300
committerGeorge Marques <george@gmarqu.es>2020-07-20 11:38:40 -0300
commit95c0909290508620bd330c2b4f7120c92cd73f0c (patch)
treed2189483464b272e02556dbe253f0c0556af2a91 /core
parent9a76ab8b6a787edd6e09be4b7833eaf8703cbff7 (diff)
Add warning checks in GDScript analyzer
Reenable checking those when validating code.
Diffstat (limited to 'core')
-rw-r--r--core/script_language.h3
1 files changed, 2 insertions, 1 deletions
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;