Skip to content

Commit

Permalink
Update src/stub/preprocessor/forward_declarations.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Mikko <[email protected]>
  • Loading branch information
daxida and Andriamanitra authored May 30, 2024
1 parent ae9c157 commit 34ad7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stub/preprocessor/forward_declarations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn transform(stub: &mut Stub) {
.flatten()
.collect();

// Add also the forloop indices to the declarations.
// Add the loop indices to the declarations
forward_declarations.extend(ALPHABET[0..max_nested_depth].iter().map(|loop_var| VariableCommand {
ident: loop_var.to_string(),
var_type: VarType::Int,
Expand Down

0 comments on commit 34ad7d8

Please sign in to comment.