]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Parser.h
Fix bug in paragraph detection (can be seen in test case of bug #5187):
[lyx.git] / src / tex2lyx / Parser.h
index dbb202ddf008c17c7a1cef10af2fa6779e9c4c89..5e749e3019f40d8be6897664d0e68fed87ae94cb 100644 (file)
@@ -213,6 +213,8 @@ public:
        Token const curr_token() const;
        /// The next token.
        Token const next_token();
+       /// The next but one token.
+       Token const next_next_token();
        /// Make the next token current and return that.
        Token const get_token();
        /// \return whether the current token starts a new paragraph