std panic fix, ready for initial, slightly incomplete publish to crates.io

This commit is contained in:
Daniella / Tove 2023-02-20 13:32:20 +01:00
parent 98f39a5aa3
commit b9eae2bbc4
Signed by: TudbuT
GPG key ID: 7D63D5634B7C417F
3 changed files with 7 additions and 4 deletions

2
Cargo.lock generated
View file

@ -16,7 +16,7 @@ checksum = "b03f7fbd470aa8b3ad163c85cce8bccfc11cc9c44ef12da0a4eddd98bd307352"
[[package]] [[package]]
name = "spl" name = "spl"
version = "0.1.0" version = "0.0.1"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"readformat", "readformat",

View file

@ -1,9 +1,11 @@
[package] [package]
name = "spl" name = "spl"
version = "0.1.0" version = "0.0.1"
edition = "2021" edition = "2021"
description = "Stack Pogramming Language: A simple, concise scripting language."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html license = "MIT"
repository = "https://github.com/tudbut/spl"
authors = ["TudbuT"]
[dependencies] [dependencies]
readformat = "0.1" readformat = "0.1"

View file

@ -397,6 +397,7 @@ func panic { | with msg ;
"Type 'Yes^M' to dump. You can set SPL_PANIC_DUMP to always dump " "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 "on panic, or SPL_PLAIN_PANIC to never dump." concat println
readln "Yes" eq if { readln "Yes" eq if {
null =map
dyn-__dump dyn-__dump
} }
} }