remove bogus parser warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4337 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-06-05 07:54:26 +00:00
parent e2e9f03515
commit b27f7bdaf9

View File

@ -492,7 +492,7 @@ void Parser::dump() const
lyxerr << " <#> ";
lyxerr << tokens_[i];
}
lyxerr << "\n";
lyxerr << " pos: " << pos_ << "\n";
}
@ -780,16 +780,16 @@ void Parser::parse_into1(MathGridInset & grid, unsigned flags, bool numbered)
MathAtom at(new MathHullInset(LM_OT_SIMPLE));
parse_into2(at, FLAG_SIMPLE, false);
cell->push_back(at);
} else {
}
else if (flags & FLAG_SIMPLE) {
// this is the end of the formula
return;
}
else {
dump();
lyxerr << "something strange in the parser\n";
break;
}
if (flags & FLAG_SIMPLE) {
// this is the end of the formula
return;
}
}
else if (t.cat() == catLetter)