std panic fix, ready for initial, slightly incomplete publish to crates.io
This commit is contained in:
parent
98f39a5aa3
commit
b9eae2bbc4
3 changed files with 7 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -16,7 +16,7 @@ checksum = "b03f7fbd470aa8b3ad163c85cce8bccfc11cc9c44ef12da0a4eddd98bd307352"
|
|||
|
||||
[[package]]
|
||||
name = "spl"
|
||||
version = "0.1.0"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"once_cell",
|
||||
"readformat",
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
[package]
|
||||
name = "spl"
|
||||
version = "0.1.0"
|
||||
version = "0.0.1"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
description = "Stack Pogramming Language: A simple, concise scripting language."
|
||||
license = "MIT"
|
||||
repository = "https://github.com/tudbut/spl"
|
||||
authors = ["TudbuT"]
|
||||
|
||||
[dependencies]
|
||||
readformat = "0.1"
|
||||
|
|
1
std.spl
1
std.spl
|
@ -397,6 +397,7 @@ func panic { | with msg ;
|
|||
"Type 'Yes^M' to dump. You can set SPL_PANIC_DUMP to always dump "
|
||||
"on panic, or SPL_PLAIN_PANIC to never dump." concat println
|
||||
readln "Yes" eq if {
|
||||
null =map
|
||||
dyn-__dump
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue