stuff
This commit is contained in:
parent
fd4845ac8d
commit
2690c65c21
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -12,7 +12,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ablescript_cli"
|
name = "ablescript_cli"
|
||||||
version = "0.5.0"
|
version = "0.5.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ablescript",
|
"ablescript",
|
||||||
"clap",
|
"clap",
|
||||||
|
|
|
@ -129,12 +129,12 @@ impl<H: HostInterface> ExecEnv<H> {
|
||||||
}),
|
}),
|
||||||
}?;
|
}?;
|
||||||
|
|
||||||
while self.finalisers.len() != 0 {
|
while !self.finalisers.is_empty() {
|
||||||
for block in std::mem::take(&mut self.finalisers) {
|
for block in std::mem::take(&mut self.finalisers) {
|
||||||
self.eval_stmts_hs(&block, true)?;
|
self.eval_stmts_hs(&block, true)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ablescript_cli"
|
name = "ablescript_cli"
|
||||||
version = "0.5.0"
|
version = "0.5.2"
|
||||||
authors = ["able <abl3theabove@gmail.com>"]
|
authors = ["able <abl3theabove@gmail.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ documentation = "https://ablecorp.us/able-script-the-book/"
|
||||||
repository = "https://git.ablecorp.us/AbleScript/able-script"
|
repository = "https://git.ablecorp.us/AbleScript/able-script"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ablescript = { version = "0.5.0", path = "../ablescript" }
|
ablescript = { version = "0.5.2", path = "../ablescript" }
|
||||||
|
|
||||||
clap = "3.2"
|
clap = "3.2"
|
||||||
rustyline = "9.1"
|
rustyline = "9.1"
|
||||||
|
|
Loading…
Reference in a new issue