Skip to content

Commit

Permalink
Update Fluid/Ast/ForStatement.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Hisham Bin Ateya <hishamco_2007@yahoo.com>
  • Loading branch information
sebastienros and hishamco authored May 29, 2024
1 parent ee382bb commit 2a9ba0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fluid/Ast/ForStatement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public ForStatement(
Reversed = reversed;
Else = elseStatement;

OffSetIsContinue = Offset is MemberExpression l && l.Segments.Count == 1 && ((IdentifierSegment)l.Segments[0]).Identifier == "continue";
OffsetIsContinue = Offset is MemberExpression l && l.Segments.Count == 1 && ((IdentifierSegment)l.Segments[0]).Identifier == "continue";
_continueOffsetLiteral = source is MemberExpression m ? "for_continue_" + ((IdentifierSegment)m.Segments[0]).Identifier : null;
}

Expand Down

0 comments on commit 2a9ba0f

Please sign in to comment.