I had a typo in a string and instead of a \t I had \5 The error message from MLton was `unclosed string'. The error is identical to what SML 110.9.1 produces (no surprise). I looked at ml.lex, but couldn't figure out how it is getting to that error.