Fix timeline tracking for parallel blocks #344

Closed
derppening wants to merge 5 commits from issue-298 into master
1 changed files with 1 additions and 6 deletions
Showing only changes of commit 6d746626c2 - Show all commits

View File

@ -215,12 +215,7 @@ impl<'b> CodeGenerator for ArtiqCodeGenerator<'b> {
return Ok(());
} else if id == &"sequential".into() {
let start = self.start.take();
for stmt in body.iter() {
self.gen_stmt(ctx, stmt)?;
if ctx.is_terminated() {
break;
}
}
gen_block(self, ctx, body.iter())?;
self.start = start;
return Ok(());
}