Skip to content

Commit

Permalink
mod: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
oriollinan committed Jan 16, 2025
1 parent b2b6c8c commit 07fc9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Codegen/ExprGen/ControlFlow.hs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ generateIf (AT.If _ cond thenExpr elseExpr) = mdo
generateIf expr =
E.throwError $ CC.CodegenError (SU.getLoc expr) $ CC.UnsupportedDefinition expr

-- | Generate LLVM code for for loops.
-- | Generate LLVM code for from loops.
generateFromLoop :: (CS.MonadCodegen m, ExprGen AT.Expr) => AT.Expr -> m AST.Operand
generateFromLoop (AT.From loc _ endExpr stepExpr declExpr@(AT.Declaration _ varName varType _) bodyExpr) = mdo
_ <- generateExpr declExpr
Expand Down

0 comments on commit 07fc9db

Please # to comment.