aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LexCOBOL.cxx4
-rw-r--r--src/LexNimrod.cxx4
-rw-r--r--src/LexPowerPro.cxx3
-rw-r--r--src/LexTACL.cxx4
-rw-r--r--src/LexTAL.cxx4
5 files changed, 19 insertions, 0 deletions
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);