On Mon, Jan 20, 2014 at 12:06:50PM +0200, Dmitry Kolesnikov wrote: } I think there is not a straight path from flex to Erlang leex. I looked way ack to Unix 7th Edition in 1978 and see that the original lex also included start conditions: http://cm.bell-labs.com/7thEdMan/v7vol2b.pdf (second paper) -- -Vance