diff options
| author | George Marques <george@gmarqu.es> | 2020-06-11 19:31:28 -0300 |
|---|---|---|
| committer | George Marques <george@gmarqu.es> | 2020-07-20 11:38:40 -0300 |
| commit | 95c0909290508620bd330c2b4f7120c92cd73f0c (patch) | |
| tree | d2189483464b272e02556dbe253f0c0556af2a91 /core/script_language.h | |
| parent | 9a76ab8b6a787edd6e09be4b7833eaf8703cbff7 (diff) | |
| download | redot-engine-95c0909290508620bd330c2b4f7120c92cd73f0c.tar.gz | |
Add warning checks in GDScript analyzer
Reenable checking those when validating code.
Diffstat (limited to 'core/script_language.h')
| -rw-r--r-- | core/script_language.h | 3 |
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; |
