aboutsummaryrefslogtreecommitdiffstats
path: root/src/run
diff options
context:
space:
mode:
authorJonas Maier <>2026-05-22 16:51:05 +0200
committerJonas Maier <>2026-05-22 16:51:05 +0200
commit9a727206f1c94f7580e79a5355adc4b932ae6345 (patch)
tree08ae53acb4ca9430010f43497358dc6176d69650 /src/run
parent5aa9b1b7072808a14cf6336d80ad1883e2e18797 (diff)
downloadpish-9a727206f1c94f7580e79a5355adc4b932ae6345.tar.gz
if-statement parsing might now allow for completion within if-statements
Diffstat (limited to 'src/run')
-rw-r--r--src/run/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run/mod.rs b/src/run/mod.rs
index 52d3925..f34b678 100644
--- a/src/run/mod.rs
+++ b/src/run/mod.rs
@@ -451,7 +451,7 @@ impl Executor {
stdin: InputReader,
stdout: OutputWriter,
) -> SpawnedCmd {
- self.execute_block(parse::Block { commands: s.stmts }, stdin, stdout)
+ self.execute_block(parse::Block { commands: s.stmts, finished_parsing: true }, stdin, stdout)
}
}