X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLexer.h;h=149cc7ddf2962bca6daaa6e3e131f1560ae51201;hb=a506c6b73b81fac52e32b2ca31b9e92d67ae250a;hp=5e87ebc78b546bfca08c10bb9ae2ce14d05d6769;hpb=cf44bb842b8e22b8ecad51170677281c2d6c231d;p=lyx.git diff --git a/src/Lexer.h b/src/Lexer.h index 5e87ebc78b..149cc7ddf2 100644 --- a/src/Lexer.h +++ b/src/Lexer.h @@ -27,7 +27,7 @@ namespace support { class FileName; } class PushPopHelper; /** A helper structure to describe a keyword for the Lexer. - Usually used bundled in C style arrays and passed to the + Usually used bundled in C style arrays and passed to the Lexer using a LexerKeywordTable object. */ struct LexerKeyword @@ -110,8 +110,8 @@ public: /// returns a lex code int lex(); - /// Read the next string, as delimited by double quotes or - /// whitespace. If esc is true, then we remember that some chars + /// Read the next string, as delimited by double quotes or + /// whitespace. If esc is true, then we remember that some chars /// might be escaped: \" at least. bool next(bool esc = false); @@ -120,7 +120,7 @@ public: /// split a word if it contains a backslash. bool nextToken(); - /// Puts the rest of the line in the buffer, where it will + /// Puts the rest of the line in the buffer, where it will /// be available via getString() or getDocString(). bool eatLine(); @@ -147,7 +147,7 @@ public: each following line. This mechanism does not work perfectly if you use tabs. */ - std::string const getLongString(std::string const & endtag); + docstring getLongString(docstring const & endtag); /// Pushes a token list on a stack and replaces it with a new one. template void pushTable(LexerKeyword (&table)[N])