* 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
This commit is contained in:
Stefan Schimanski 2008-02-22 20:04:38 +00:00
parent 21489f6a29
commit 90a88ba87d

View File

@ -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);
}
}