The Lambda Lab
/
projects
/
scheme.forth.jl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added (error)
[scheme.forth.jl.git]
/
scheme.4th
diff --git
a/scheme.4th
b/scheme.4th
index
4ccf7d8
..
bacd8e0
100644
(file)
--- a/
scheme.4th
+++ b/
scheme.4th
@@
-52,7
+52,7
@@
variable nextexception
make-exception recoverable-exception
make-exception unrecoverable-exception
make-exception recoverable-exception
make-exception unrecoverable-exception
-: display-
warnin
g ( addr count -- )
+: display-
exception-ms
g ( addr count -- )
bold fg red
." Exception: "
type
bold fg red
." Exception: "
type
@@
-65,7
+65,7
@@
make-exception unrecoverable-exception
[compile] if
['] -rot ,
[compile] if
['] -rot ,
- ['] display-
warnin
g ,
+ ['] display-
exception-ms
g ,
[compile] then
['] throw ,
[compile] then
['] throw ,
@@
-1456,7
+1456,7
@@
hide env
;
: (printstring) ( stringobj -- )
;
: (printstring) ( stringobj -- )
- nil
-type istype
? if 2drop exit then
+ nil? if 2drop exit then
2dup car drop dup
case
2dup car drop dup
case
@@
-1709,11
+1709,7
@@
variable gc-stack-depth
recoverable-exception of false endof
unrecoverable-exception of true endof
recoverable-exception of false endof
unrecoverable-exception of true endof
- \ Rethrow anything else:
- throw
-
- \ If we're still here, loop again
- false
+ throw false
endcase
until
;
endcase
until
;