Skip to content

Commit f7b993c

Browse files
author
Quoc Truong
committed
Improve Variable Analysis to recognize variables from outer scope
1 parent 3f9ef44 commit f7b993c

File tree

6 files changed

+877
-35
lines changed

6 files changed

+877
-35
lines changed

Engine/Commands/InvokeScriptAnalyzerCommand.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,11 @@ private void AnalyzeFile(string filePath)
294294
}
295295

296296
#region Run VariableAnalysis
297-
Helper.Instance.InitializeVariableAnalysis(ast);
297+
try
298+
{
299+
Helper.Instance.InitializeVariableAnalysis(ast);
300+
}
301+
catch { }
298302
#endregion
299303

300304
Helper.Instance.Tokens = tokens;

0 commit comments

Comments
 (0)