]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Parser.cpp
Capitalize labels of floats, etc. Fixes #11993.
[lyx.git] / src / tex2lyx / Parser.cpp
index ee25db246d9ac58c863e9c9ae1bc7134223afaa4..e4eb9b40ba42235e1de19e7bb760d43930255139 100644 (file)
@@ -854,7 +854,7 @@ void Parser::tokenize_one()
        }
 
        case catIgnore: {
-               cerr << "ignoring a char: " << c << "\n";
+               cerr << "ignoring a char: " << static_cast<uint32_t>(c) << "\n";
                break;
        }
 
@@ -877,7 +877,7 @@ void Parser::dump() const
 }
 
 
-void Parser::error(string const & msg)
+void Parser::error(string const & msg) const
 {
        cerr << "Line ~" << lineno_ << ":  parse error: " << msg << endl;
        dump();