]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathParser.cpp
MathParser: Do not rewind the stream if we can't read from it
[features.git] / src / mathed / MathParser.cpp
index b3f1bca76b64cabbfcb33b9f8d879503bc15aca3..ad804e1f84bb3f9af1ec17337ac90b60a67f01be 100644 (file)
@@ -536,7 +536,6 @@ char_type Parser::getChar()
 {
        if (!good()) {
                error("The input stream is not well...");
-               putback();
                return 0;
        }
        return tokens_[pos_++].character();