aboutsummaryrefslogtreecommitdiff
path: root/src/boot/translator.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/translator.boot')
-rw-r--r--src/boot/translator.boot32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/boot/translator.boot b/src/boot/translator.boot
index dd20eb89..84f3c9ec 100644
--- a/src/boot/translator.boot
+++ b/src/boot/translator.boot
@@ -86,14 +86,14 @@ shoeCOMPILE_-FILE lspFileName ==
BOOTTOCL(fn, out) ==
- UNWIND_-PROTECT(
- PROGN(startCompileDuration(),
- callingPackage := _*PACKAGE_*,
- IN_-PACKAGE '"BOOTTRAN",
- result := BOOTTOCLLINES(nil,fn, out),
- setCurrentPackage callingPackage,
- result),
- endCompileDuration())
+ try
+ startCompileDuration()
+ callingPackage := _*PACKAGE_*
+ IN_-PACKAGE '"BOOTTRAN"
+ result := BOOTTOCLLINES(nil,fn, out)
+ setCurrentPackage callingPackage
+ result
+ finally endCompileDuration()
++ (bootclam "filename") translates the file "filename.boot" to
++ the common lisp file "filename.clisp" , producing, for each function
@@ -124,14 +124,14 @@ shoeClLines(a,fn,lines,outfn)==
++ the common lisp file "filename.clisp" with the original boot
++ code as comments
BOOTTOCLC(fn, out)==
- UNWIND_-PROTECT(
- PROGN(startCompileDuration(),
- callingPackage := _*PACKAGE_*,
- IN_-PACKAGE '"BOOTTRAN",
- result := BOOTTOCLCLINES(nil, fn, out),
- setCurrentPackage callingPackage,
- result),
- endCompileDuration())
+ try
+ startCompileDuration()
+ callingPackage := _*PACKAGE_*
+ IN_-PACKAGE '"BOOTTRAN"
+ result := BOOTTOCLCLINES(nil, fn, out)
+ setCurrentPackage callingPackage
+ result
+ finally endCompileDuration()
BOOTTOCLCLINES(lines, fn, outfn)==
infn:=shoeAddbootIfNec fn