Allow warning-ignore in same line
This commit is contained in:
parent
9df1ed3edb
commit
3715ea268f
@ -8769,7 +8769,7 @@ Error GDScriptParser::_parse(const String &p_base_path) {
|
||||
GDScriptWarning &w = E->get();
|
||||
int skip_index = -1;
|
||||
for (int i = 0; i < warning_skips.size(); i++) {
|
||||
if (warning_skips[i].first >= w.line) {
|
||||
if (warning_skips[i].first > w.line) {
|
||||
break;
|
||||
}
|
||||
skip_index = i;
|
||||
|
Loading…
Reference in New Issue
Block a user