aboutsummaryrefslogtreecommitdiff
path: root/sil.icl
diff options
context:
space:
mode:
Diffstat (limited to 'sil.icl')
-rw-r--r--sil.icl6
1 files changed, 5 insertions, 1 deletions
diff --git a/sil.icl b/sil.icl
index 5b1529a..32195e7 100644
--- a/sil.icl
+++ b/sil.icl
@@ -89,7 +89,11 @@ Start w
| not ok
# err = err <<< "Could not open 'sil_compiled.abc' for writing\r\n"
= finish 1 io err w
-# f = f <<< 'SC'.compile prog
+# prog = 'SC'.compile prog
+| isError prog
+ # err = err <<< fromError prog <<< "\r\n"
+ = finish 1 io err w
+# f = f <<< fromOk prog
# (_,w) = fclose f w
| not args.generate
= finish 0 io err w