fun read (fields as {inPath, outPath, pubPath, lib, compiler, cm, sml, printFn, beforeT, afterT, exnT}) =
(case TextIO.inputLine inf of
- "" => CONFIG fields
- | line =>
+ NONE => CONFIG fields
+ | SOME line =>
(case String.tokens Char.isSpace line of
[] => read fields
| ["in", inPath] => read {inPath = expandPath inPath, outPath = outPath, pubPath = pubPath,