mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
more complete fix for bug 4318 and variants (see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg130765.html)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21444 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ab8bbd9b88
commit
e077f03643
@ -1021,12 +1021,14 @@ void Parser::parse1(InsetMathGrid & grid, unsigned flags,
|
||||
else if (t.cs() == "\\") {
|
||||
if (flags & FLAG_ALIGN)
|
||||
return;
|
||||
bool added;
|
||||
bool added = false;
|
||||
if (nextToken().asInput() == "*") {
|
||||
getToken();
|
||||
added = addRow(grid, cellrow, docstring(), false);
|
||||
} else
|
||||
} else if (good())
|
||||
added = addRow(grid, cellrow, getArg('[', ']'));
|
||||
else
|
||||
error("missing token after \\\\");
|
||||
if (added) {
|
||||
cellcol = 0;
|
||||
if (grid.asHullInset())
|
||||
|
Loading…
Reference in New Issue
Block a user