return pimpl_->lineno;
}
-char const * LyXLex::text() const
+
+char const * const LyXLex::text() const
{
return &pimpl_->buff[0];
}
}
-string LyXLex::GetString() const
+string const LyXLex::GetString() const
{
return pimpl_->GetString();
}
// I would prefer to give a tag number instead of an explicit token
// here, but it is not possible because Buffer::readLyXformat2 uses
// explicit tokens (JMarc)
-string LyXLex::getLongString(string const & endtoken)
+string const LyXLex::getLongString(string const & endtoken)
{
string str, prefix;
bool firstline = true;