[MLton] mllex fails when actions include unbalanced parentheses

Michael Norrish Michael Norrish <Michael.Norrish@nicta.com.au>
Thu, 21 Jul 2005 16:57:55 +1000


If something like the following is an MLLex action, then it gets
confused and complains of a syntax error

"(" => (print "("; lex());

The version of MLlex from SML/NJ that I also have installed on my
system doesn't have this problem. 

Michael.