Skip to content

Commit

Permalink
statement: Fix typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Mar 4, 2024
1 parent 6f2a402 commit 6ada6d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asteria/compiler/statement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ generate_code(cow_vector<AIR_Node>& code, Analytic_Context& ctx,
const auto& altr = this->m_stor.as<S_for>();

// Note that names declared in the first segment of a for-statement outlasts
// every iteration, so we have to create an outer contexts here.
// every iteration, so we have to create an outer context here.
Analytic_Context ctx_for(xtc_plain, ctx);

// Generate code for the initializer, the condition and the loop increment.
Expand Down

0 comments on commit 6ada6d9

Please sign in to comment.