read & and \\ nested in {} again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2616 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-08-29 15:19:50 +00:00
parent f4c407e4f6
commit 10187ee6d9

View File

@ -696,7 +696,7 @@ void Parser::parse_into(MathArray & array, unsigned flags, MathTextCodes code)
else if (t.cat() == catAlign) {
lyxerr << "found tab unexpectedly, array: '" << array << "'\n";
return;
array.push_back(new MathCharInset('&', LM_TC_SPECIAL));
}
else if (t.cat() == catSuper)
@ -728,10 +728,11 @@ void Parser::parse_into(MathArray & array, unsigned flags, MathTextCodes code)
else if (t.cs() == "\\") {
curr_skip_ = getArg('[', ']');
if (!(flags & FLAG_NEWLINE))
lyxerr[Debug::MATHED]
if (flags & FLAG_NEWLINE)
return;
lyxerr[Debug::MATHED]
<< "found newline unexpectedly, array: '" << array << "'\n";
return;
array.push_back(createMathInset("\\"));
}
else if (t.cs() == "limits")