From 90a88ba87d4c71db192e57a8155e78a1b48b33e7 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Fri, 22 Feb 2008 20:04:38 +0000 Subject: [PATCH] * correct parsing of unknown math environment (fixes http://bugzilla.lyx.org/show_bug.cgi?id=4573) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23139 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/MathParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathed/MathParser.cpp b/src/mathed/MathParser.cpp index 31a34ddf6d..e14c925d6e 100644 --- a/src/mathed/MathParser.cpp +++ b/src/mathed/MathParser.cpp @@ -1266,7 +1266,7 @@ void Parser::parse1(InsetMathGrid & grid, unsigned flags, << to_utf8(l->inset) << "'." << endl; // create generic environment inset cell->push_back(MathAtom(new InsetMathEnv(name))); - parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode); + parse(cell->back().nucleus()->cell(0), FLAG_END, mode); } } @@ -1276,7 +1276,7 @@ void Parser::parse1(InsetMathGrid & grid, unsigned flags, << "'" << endl; // create generic environment inset cell->push_back(MathAtom(new InsetMathEnv(name))); - parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode); + parse(cell->back().nucleus()->cell(0), FLAG_END, mode); } } -- 2.39.2