mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
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:
parent
431543cc20
commit
8de80cc1e7
@ -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())
|
||||
|
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user