From cbf0ace15854cbdcf87bad740318df635d4baf9c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 12 Feb 2002 22:12:13 +0000 Subject: Made LexerModule objects not be const again as that was impairing static linking. --- src/KeyWords.cxx | 2 +- src/LexAVE.cxx | 2 +- src/LexAda.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/KeyWords.cxx b/src/KeyWords.cxx index 288c64d21..7c182ad11 100644 --- a/src/KeyWords.cxx +++ b/src/KeyWords.cxx @@ -95,7 +95,7 @@ static void ColouriseNullDoc(unsigned int startPos, int length, int, WordList *[ } } -const LexerModule lmNull(SCLEX_NULL, ColouriseNullDoc, "null"); +LexerModule lmNull(SCLEX_NULL, ColouriseNullDoc, "null"); #ifdef __vms #define LINK_LEXERS diff --git a/src/LexAVE.cxx b/src/LexAVE.cxx index 4410ce342..dfd15f02f 100644 --- a/src/LexAVE.cxx +++ b/src/LexAVE.cxx @@ -185,4 +185,4 @@ static void ColouriseAveDoc(unsigned int startPos, int length, int initStyle, Wo } } -const LexerModule lmAVE(SCLEX_AVE, ColouriseAveDoc, "ave"); +LexerModule lmAVE(SCLEX_AVE, ColouriseAveDoc, "ave"); diff --git a/src/LexAda.cxx b/src/LexAda.cxx index 563fe2ba7..0d8fb9d5d 100644 --- a/src/LexAda.cxx +++ b/src/LexAda.cxx @@ -195,4 +195,4 @@ static void ColouriseAdaDoc(unsigned int startPos, int length, int initStyle, // } } -const LexerModule lmAda(SCLEX_ADA, ColouriseAdaDoc, "ada"); +LexerModule lmAda(SCLEX_ADA, ColouriseAdaDoc, "ada"); -- cgit v1.2.3