Closed robsimmons closed 12 years ago
I missed the fact that cm2mlb called OS.Process.exit on failure. Doh!
This is fixed - you may want to check though because the behaviour is different under Windows.
Yep:
bash-3.2$ ../sml-cidre/bin/sml-cidre sml/refine.sml
Standard ML of New Jersey 110.72
with SML-CIDRE 0.99999
Quickstart: Cidre.make "filenm.cm";
val it = "a piece of" : string
- Cidre.make "sml/refine.cm";
Cidre: finished checking.
[scanning sml/refine.cm]
uncaught exception Io [Io: openIn failed on "sml/refine.cm", No such file or directory]
raised at: Basis/Implementation/IO/text-io-fn.sml:783.25-783.71
../cm/util/safeio.sml:30.11
../cm/parse/parse.sml:502.47
-
I meant to write
sml/refine.mlb
, the filesml/refine.cm
doesn't exist. This probably shouldn't throw me back to my shell, however.