minifixes
This commit is contained in:
parent
1fd2647688
commit
f9a7b4d2de
2 changed files with 4 additions and 2 deletions
|
@ -22,6 +22,9 @@ fn main() {
|
|||
}
|
||||
println!("Embedding source...");
|
||||
}
|
||||
else {
|
||||
builder.set_name(file[..file.rfind('.').unwrap_or(file.len())].to_owned());
|
||||
}
|
||||
builder.add_source(file.to_owned(), data.to_owned());
|
||||
if build_only {
|
||||
println!("Preparing rust code...");
|
||||
|
|
3
std.spl
3
std.spl
|
@ -472,8 +472,7 @@ func call-main-on-file { | with file ;
|
|||
"@" file concat import
|
||||
update-types
|
||||
argv main exit
|
||||
}
|
||||
{ with err ;
|
||||
} { with err ;
|
||||
err:message dup null eq if {
|
||||
pop
|
||||
"Uncaught error."
|
||||
|
|
Loading…
Add table
Reference in a new issue