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)
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")