Skip to content

Commit

Permalink
Add TODO comment as requested.
Browse files Browse the repository at this point in the history
  • Loading branch information
hdwalters committed Dec 31, 2024
1 parent 08031c0 commit 3c2d73d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/modules/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,10 @@ impl TranslateModule for Main {
|name| format!("declare -r {name}=({quote}{dollar}0{quote} {quote}{dollar}@{quote})")
);
// Temporarily decrease the indentation level to counteract
// the indentation applied by the block translate. Unlike
// the indentation applied by the block translation. Unlike
// other instances of code blocks, we do not want to indent
// the code generated from the main block. We will ultimately
// need to rewrite the code generation, and this hack will go
// away.
// the code generated from the main block.
// TODO: Rethink as part of the Bash output improvement work.
meta.decrease_indent();
let result = format!("{args}\n{}", self.block.translate(meta));
meta.increase_indent();
Expand Down

0 comments on commit 3c2d73d

Please sign in to comment.