From 8de80cc1e743d5e3226b56c3456fe8b1fa60f6a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 10 Aug 2001 11:04:23 +0000 Subject: [PATCH] move error message to a better place... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2478 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_gridinset.C | 1 + src/mathed/math_parser.C | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mathed/math_gridinset.C b/src/mathed/math_gridinset.C index 95d76d4262..b07c576d5c 100644 --- a/src/mathed/math_gridinset.C +++ b/src/mathed/math_gridinset.C @@ -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()) diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index 86270f47ac..c6479cc273 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -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(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_; -- 2.39.2