From 1673612fe9c9f31217ec24fe1211d8d020c4d478 Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 15 Mar 2018 11:22:20 -0400 Subject: Use active Scintilla namespace in LPeg lexer. --- lexers/LexLPeg.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lexers/LexLPeg.cxx b/lexers/LexLPeg.cxx index 9a44a3cdd..f0cd0812f 100644 --- a/lexers/LexLPeg.cxx +++ b/lexers/LexLPeg.cxx @@ -37,9 +37,7 @@ LUALIB_API int luaopen_lpeg(lua_State *L); #endif #define streq(s1, s2) (strcasecmp((s1), (s2)) == 0) -#if SCI_NAMESPACE using namespace Scintilla; -#endif #define l_setmetatable(l, k, mtf) \ if (luaL_newmetatable(l, k)) { \ @@ -781,9 +779,7 @@ LexerModule lmLPeg(SCLEX_LPEG, LexerLPeg::LexerFactoryLPeg, "lpeg"); #include "Accessor.h" #include "LexerModule.h" -#if SCI_NAMESPACE using namespace Scintilla; -#endif static void LPegLex(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, WordList *keywordlists[], Accessor &styler) { -- cgit v1.2.3