diff options
author | nyamatongwe <devnull@localhost> | 2000-04-05 00:48:09 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-04-05 00:48:09 +0000 |
commit | 884b65511efa0fa9c2172d2e70bc73f1fcd30e47 (patch) | |
tree | 4f65db898386e743f79b33cc46430a7bafb153f2 | |
parent | 79f23a6ce721bbf1f4ae89d0f2bc86d83fbe52b7 (diff) | |
download | scintilla-mirror-884b65511efa0fa9c2172d2e70bc73f1fcd30e47.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.
-rw-r--r-- | src/LexCPP.cxx | 2 | ||||
-rw-r--r-- | src/LexHTML.cxx | 4 | ||||
-rw-r--r-- | src/LexOthers.cxx | 8 | ||||
-rw-r--r-- | src/LexPerl.cxx | 2 | ||||
-rw-r--r-- | src/LexPython.cxx | 2 | ||||
-rw-r--r-- | src/LexSQL.cxx | 2 | ||||
-rw-r--r-- | src/LexVB.cxx | 2 |
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); |