X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLexer.cpp;h=17cc161d19ccab690f571c75b288fa9be9e5de45;hb=d9082639080b9de993742bd352f92e5183058cf5;hp=c290260144aa8b740c37de3a9dfbd0ab92d28608;hpb=c506f304bc522ea91ad5a7e97cd4e3c7d54376b0;p=lyx.git diff --git a/src/Lexer.cpp b/src/Lexer.cpp index c290260144..17cc161d19 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -24,9 +24,10 @@ #include "support/lassert.h" #include "support/lstrings.h" #include "support/lyxalgo.h" -#include "support/types.h" +#include // sort, lower_bound #include +#include #include #include #include @@ -944,9 +945,9 @@ bool Lexer::checkFor(char const * required) } -void Lexer::setContext(std::string const & str) +void Lexer::setContext(std::string const & functionName) { - pimpl_->context = str; + pimpl_->context = functionName; }