mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
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:
parent
f4c407e4f6
commit
10187ee6d9
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user