]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.h
support for the LaTeX commands \x***arrow
[lyx.git] / src / mathed / MathParser.h
index 31cbecc2723d07e89cd555e2435dd10c8d78896e..745b038d2a58af88868b639deee38f20e913ab82 100644 (file)
@@ -15,7 +15,6 @@
 
 #include "MathParser_flags.h"
 
-#include "support/types.h"
 #include "support/docstring.h"
 
 
@@ -62,25 +61,25 @@ public:
 latexkeys const * in_word_set(docstring const & str);
 
 /// parse formula from a string
-bool mathed_parse_normal(MathAtom &, docstring const &,
-               Parse::flags f = Parse::NORMAL, Buffer * buf = 0);
+bool mathed_parse_normal(Buffer * buf, MathAtom &, docstring const &,
+               Parse::flags f = Parse::NORMAL);
 
 /// parse formula from the LyX lexxer
-bool mathed_parse_normal(MathAtom &, Lexer &,
-               Parse::flags f = Parse::NORMAL, Buffer * buf = 0);
+bool mathed_parse_normal(Buffer * buf, MathAtom &, Lexer &,
+               Parse::flags f = Parse::NORMAL);
 
 /// parse formula from a string into a grid
 bool mathed_parse_normal(InsetMathGrid &, docstring const &,
-               Parse::flags f = Parse::NORMAL, Buffer * buf = 0);
+               Parse::flags f = Parse::NORMAL);
 
 /// parse a single cell from a string
 bool mathed_parse_cell(MathData & ar, docstring const &,
-               Parse::flags f = Parse::NORMAL, Buffer * buf = 0);
+               Parse::flags f = Parse::NORMAL);
 
 /// parse a single cell from a stream. Only use this for reading from .lyx
 /// file format, for the reason see Parser::tokenize(std::istream &).
 bool mathed_parse_cell(MathData & ar, std::istream &,
-               Parse::flags f = Parse::NORMAL, Buffer * buf = 0);
+               Parse::flags f = Parse::NORMAL);
 
 void initParser();