Skip to content

Commit 7a1215a

Browse files
committed
Modify the comment
1 parent 1e78842 commit 7a1215a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Engine/Helper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,12 +496,13 @@ public bool IsVariableGlobalOrEnvironment(VariableExpressionAst varAst, Ast ast)
496496

497497

498498
/// <summary>
499-
/// Checks whether a variable is a built-in variable.
499+
/// Checks whether a variable is a global variable.
500500
/// </summary>
501501
/// <param name="ast"></param>
502502
/// <returns></returns>
503503
public bool IsVariableGlobal(VariableExpressionAst varAst)
504504
{
505+
//We ignore the use of built-in variable as global variable
505506
if (varAst.VariablePath.IsGlobal)
506507
{
507508
string varName = varAst.VariablePath.UserPath.Remove(varAst.VariablePath.UserPath.IndexOf("global:", StringComparison.OrdinalIgnoreCase), "global:".Length);

0 commit comments

Comments
 (0)