]> git.lyx.org Git - lyx.git/blobdiff - src/Lexer.cpp
nullptr
[lyx.git] / src / Lexer.cpp
index c290260144aa8b740c37de3a9dfbd0ab92d28608..17cc161d19ccab690f571c75b288fa9be9e5de45 100644 (file)
 #include "support/lassert.h"
 #include "support/lstrings.h"
 #include "support/lyxalgo.h"
-#include "support/types.h"
 
+#include <algorithm> // sort, lower_bound
 #include <functional>
+#include <fstream>
 #include <istream>
 #include <stack>
 #include <vector>
@@ -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;
 }