[modelica mode] revised version of lexical analysis