-bool mathed_parse_normal(MathAtom &, docstring const &);
-/// ... the LyX lexxer
-bool mathed_parse_normal(MathAtom &, LyXLex &);
+bool mathed_parse_normal(Buffer * buf, MathAtom &, docstring const &,
+ Parse::flags f = Parse::NORMAL);
+
+/// parse formula from the LyX lexxer
+bool mathed_parse_normal(Buffer * buf, MathAtom &, Lexer &,
+ Parse::flags f = Parse::NORMAL);
+