From 1746ffb8f8378671f828fb70a5b30f44db83c79c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 24 Apr 2009 02:28:05 +0000 Subject: Added using namespace for OS X build. --- src/LexCOBOL.cxx | 4 ++++ src/LexNimrod.cxx | 4 ++++ src/LexPowerPro.cxx | 3 +++ src/LexTACL.cxx | 4 ++++ src/LexTAL.cxx | 4 ++++ 5 files changed, 19 insertions(+) (limited to 'src') diff --git a/src/LexCOBOL.cxx b/src/LexCOBOL.cxx index 4ad8e9fc1..d061d5c67 100644 --- a/src/LexCOBOL.cxx +++ b/src/LexCOBOL.cxx @@ -23,6 +23,10 @@ #include "SciLexer.h" #include "StyleContext.h" +#ifdef SCI_NAMESPACE +using namespace Scintilla; +#endif + #define IN_DIVISION 0x01 #define IN_DECLARATIVES 0x02 #define IN_SECTION 0x04 diff --git a/src/LexNimrod.cxx b/src/LexNimrod.cxx index 90c24897b..8c4d04360 100644 --- a/src/LexNimrod.cxx +++ b/src/LexNimrod.cxx @@ -22,6 +22,10 @@ #include "Scintilla.h" #include "SciLexer.h" +#ifdef SCI_NAMESPACE +using namespace Scintilla; +#endif + static inline bool IsAWordChar(int ch) { return (ch >= 0x80) || isalnum(ch) || ch == '_'; } diff --git a/src/LexPowerPro.cxx b/src/LexPowerPro.cxx index 095a6af1c..9320baf94 100644 --- a/src/LexPowerPro.cxx +++ b/src/LexPowerPro.cxx @@ -40,6 +40,9 @@ #include "SciLexer.h" #include "CharacterSet.h" +#ifdef SCI_NAMESPACE +using namespace Scintilla; +#endif static inline bool IsStreamCommentStyle(int style) { return style == SCE_POWERPRO_COMMENTBLOCK; diff --git a/src/LexTACL.cxx b/src/LexTACL.cxx index 9259e770c..b0c12440d 100644 --- a/src/LexTACL.cxx +++ b/src/LexTACL.cxx @@ -23,6 +23,10 @@ #include "SciLexer.h" #include "StyleContext.h" +#ifdef SCI_NAMESPACE +using namespace Scintilla; +#endif + inline bool isTACLoperator(char ch) { return ch == '\'' || isoperator(ch); diff --git a/src/LexTAL.cxx b/src/LexTAL.cxx index a856dc5f6..a76a296d6 100644 --- a/src/LexTAL.cxx +++ b/src/LexTAL.cxx @@ -23,6 +23,10 @@ #include "SciLexer.h" #include "StyleContext.h" +#ifdef SCI_NAMESPACE +using namespace Scintilla; +#endif + inline bool isTALoperator(char ch) { return ch == '\'' || ch == '@' || ch == '#' || isoperator(ch); -- cgit v1.2.3