|
@@ -114,6 +114,9 @@ class GDScriptDiagnosticSeverity {
|
|
return
|
|
return
|
|
if(line.match(/.*?\sif\s+(\!|\[|\{|\w).*?\s+else\s+[^\s]+/))
|
|
if(line.match(/.*?\sif\s+(\!|\[|\{|\w).*?\s+else\s+[^\s]+/))
|
|
return
|
|
return
|
|
|
|
+ if(line.match(/.*?if.*else.*/)) {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
if (line.match(/.*?\\/))
|
|
if (line.match(/.*?\\/))
|
|
expectEndOfLine = true;
|
|
expectEndOfLine = true;
|
|
else if (line.match(/.*?\:[\s+]+[^#\s]+/))
|
|
else if (line.match(/.*?\:[\s+]+[^#\s]+/))
|