move error message to a better place...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2478 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-08-10 11:04:23 +00:00
parent 431543cc20
commit 8de80cc1e7
2 changed files with 3 additions and 2 deletions

View File

@ -312,6 +312,7 @@ int MathGridInset::cellYOffset(int idx) const
return rowinfo_[row(idx)].offset_;
}
bool MathGridInset::idxUp(int & idx, int & pos) const
{
if (idx < ncols())

View File

@ -245,9 +245,9 @@ private:
unsigned char Parser::getuchar()
{
char c = 0;
is_.get(c);
if (!is_.good())
lyxerr << "The input stream is not well..." << endl;
is_.get(c);
return static_cast<unsigned char>(c);
}
@ -303,7 +303,7 @@ int Parser::yylex()
while (is_.good()) {
unsigned char c = getuchar();
lyxerr << "reading byte: '" << c << "' code: " << lexcode[c] << endl;
//lyxerr << "reading byte: '" << c << "' code: " << lexcode[c] << endl;
if (lexcode[c] == LexNewLine) {
++lineno_;