GDScript: Add annotation to ignore warnings
This commit is contained in:
parent
1032c2c434
commit
fd643c903d
7 changed files with 116 additions and 12 deletions
|
|
@ -297,6 +297,7 @@ public:
|
|||
int leftmost_column = 0, rightmost_column = 0;
|
||||
Node *next = nullptr;
|
||||
List<AnnotationNode *> annotations;
|
||||
Vector<uint32_t> ignored_warnings;
|
||||
|
||||
DataType datatype;
|
||||
|
||||
|
|
@ -1204,6 +1205,7 @@ private:
|
|||
#ifdef DEBUG_ENABLED
|
||||
List<GDScriptWarning> warnings;
|
||||
Set<String> ignored_warnings;
|
||||
Set<uint32_t> ignored_warning_codes;
|
||||
Set<int> unsafe_lines;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue