]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex.C
fix compilation pb ; update eu.po
[lyx.git] / src / lyxlex.C
index 9c23930a7444bba5329b5af5cc59f477f515802b..4b93787423c7685d12ba833372bd9cd52e37b25c 100644 (file)
@@ -104,6 +104,11 @@ void LyXLex::setStream(istream & i)
 }
 
 
+void LyXLex::setCommentChar(char c)
+{
+       pimpl_->setCommentChar(c);
+}
+
 int LyXLex::lex()
 {
        return pimpl_->lex();
@@ -177,7 +182,7 @@ string const LyXLex::getLongString(string const & endtoken)
                        } 
 
                        if (!prefix.empty() 
-                           && prefixIs(tmpstr, prefix.c_str())) {
+                           && prefixIs(tmpstr, prefix)) {
                                tmpstr.erase(0, prefix.length() - 1);
                        }
                        str += frontStrip(tmpstr, "\t") + '\n';