aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-05 00:48:09 +0000
committernyamatongwe <unknown>2000-04-05 00:48:09 +0000
commitdae4eea6225cd2f3ed9f2e4dfe46606cc9a0743f (patch)
tree4f65db898386e743f79b33cc46430a7bafb153f2 /src
parentd4b849cbe8fa0136a45104f02223332691e098de (diff)
downloadscintilla-mirror-dae4eea6225cd2f3ed9f2e4dfe46606cc9a0743f.tar.gz
Changed the lexer module objects to be globally visible (by removing 'static')
so they can be explicitly referenced to force inclusion in a build.
Diffstat (limited to 'src')
-rw-r--r--src/LexCPP.cxx2
-rw-r--r--src/LexHTML.cxx4
-rw-r--r--src/LexOthers.cxx8
-rw-r--r--src/LexPerl.cxx2
-rw-r--r--src/LexPython.cxx2
-rw-r--r--src/LexSQL.cxx2
-rw-r--r--src/LexVB.cxx2
7 files changed, 11 insertions, 11 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx
index 144648e35..b67779842 100644
--- a/src/LexCPP.cxx
+++ b/src/LexCPP.cxx
@@ -252,4 +252,4 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo
}
}
-static LexerModule lmCPP(SCLEX_CPP, ColouriseCppDoc);
+LexerModule lmCPP(SCLEX_CPP, ColouriseCppDoc);
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx
index 87bb29335..e7431e322 100644
--- a/src/LexHTML.cxx
+++ b/src/LexHTML.cxx
@@ -1135,5 +1135,5 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty
styler.ColourTo(lengthDoc - 1, state);
}
-static LexerModule lmHTML(SCLEX_HTML, ColouriseHyperTextDoc);
-static LexerModule lmXML(SCLEX_XML, ColouriseHyperTextDoc);
+LexerModule lmHTML(SCLEX_HTML, ColouriseHyperTextDoc);
+LexerModule lmXML(SCLEX_XML, ColouriseHyperTextDoc);
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx
index a36e9a933..222bc74ff 100644
--- a/src/LexOthers.cxx
+++ b/src/LexOthers.cxx
@@ -194,7 +194,7 @@ static void ColouriseErrorListDoc(unsigned int startPos, int length, int, WordLi
ColouriseErrorListLine(lineBuffer, linePos, startPos + length, styler);
}
-static LexerModule lmProps(SCLEX_PROPERTIES, ColourisePropsDoc);
-static LexerModule lmErrorList(SCLEX_ERRORLIST, ColouriseErrorListDoc);
-static LexerModule lmMake(SCLEX_MAKEFILE, ColouriseMakeDoc);
-static LexerModule lmBatch(SCLEX_BATCH, ColouriseBatchDoc);
+LexerModule lmProps(SCLEX_PROPERTIES, ColourisePropsDoc);
+LexerModule lmErrorList(SCLEX_ERRORLIST, ColouriseErrorListDoc);
+LexerModule lmMake(SCLEX_MAKEFILE, ColouriseMakeDoc);
+LexerModule lmBatch(SCLEX_BATCH, ColouriseBatchDoc);
diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx
index 8fef7225e..155a0c1a2 100644
--- a/src/LexPerl.cxx
+++ b/src/LexPerl.cxx
@@ -485,4 +485,4 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle,
styler.ColourTo(lengthDoc, state);
}
-static LexerModule lmPerl(SCLEX_PERL, ColourisePerlDoc);
+LexerModule lmPerl(SCLEX_PERL, ColourisePerlDoc);
diff --git a/src/LexPython.cxx b/src/LexPython.cxx
index 51d9791d9..86597e863 100644
--- a/src/LexPython.cxx
+++ b/src/LexPython.cxx
@@ -254,4 +254,4 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle,
}
}
-static LexerModule lmPython(SCLEX_PYTHON, ColourisePyDoc);
+LexerModule lmPython(SCLEX_PYTHON, ColourisePyDoc);
diff --git a/src/LexSQL.cxx b/src/LexSQL.cxx
index eb8464a56..d7bcd81cf 100644
--- a/src/LexSQL.cxx
+++ b/src/LexSQL.cxx
@@ -153,4 +153,4 @@ static void ColouriseSQLDoc(unsigned int startPos, int length,
styler.ColourTo(lengthDoc - 1, state);
}
-static LexerModule lmSQL(SCLEX_SQL, ColouriseSQLDoc);
+LexerModule lmSQL(SCLEX_SQL, ColouriseSQLDoc);
diff --git a/src/LexVB.cxx b/src/LexVB.cxx
index 9f372c59f..acc3b0d54 100644
--- a/src/LexVB.cxx
+++ b/src/LexVB.cxx
@@ -115,4 +115,4 @@ static void ColouriseVBDoc(unsigned int startPos, int length, int initStyle,
styler.ColourTo(lengthDoc, state);
}
-static LexerModule lmVB(SCLEX_VB, ColouriseVBDoc);
+LexerModule lmVB(SCLEX_VB, ColouriseVBDoc);