]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parser.C
support for \land and \vee, cosmetics
[lyx.git] / src / mathed / math_parser.C
index 69bd62cb2f81d3abda6410708225e8251abc17ea..535432d84e4947774c9e38a82df43aed5500097a 100644 (file)
 #include "math_parser.h"
 #include "array.h"
 #include "math_inset.h"
+#include "math_arrayinset.h"
+#include "math_bigopinset.h"
+#include "math_dotsinset.h"
+#include "math_decorationinset.h"
+#include "math_deliminset.h"
+#include "math_fracinset.h"
+#include "math_funcinset.h"
 #include "math_macro.h"
 #include "math_macrotable.h"
 #include "math_macrotemplate.h"
-#include "math_root.h"
-#include "math_arrayinset.h"
-#include "math_sqrtinset.h"
 #include "math_matrixinset.h"
-#include "math_bigopinset.h"
-#include "math_funcinset.h"
-#include "math_spaceinset.h"
-#include "math_sizeinset.h"
+#include "math_rootinset.h"
 #include "math_scriptinset.h"
-#include "math_dotsinset.h"
-#include "math_fracinset.h"
-#include "math_deliminset.h"
-#include "math_decorationinset.h"
+#include "math_sizeinset.h"
+#include "math_spaceinset.h"
+#include "math_sqrtinset.h"
 #include "debug.h"
 #include "mathed/support.h"
 #include "lyxlex.h"
@@ -819,6 +819,12 @@ void mathed_parse(MathArray & array, unsigned flags)
 
 }
 
+MathInset * mathed_parse(string const & str)
+{
+       istringstream is(str.c_str());
+       return mathed_parse(is);
+}
+
 
 MathInset * mathed_parse(istream & is)
 {