From 87a3a96b3d5047f28d5d89b935014da1fcde1975 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 13 Jul 2010 21:44:00 +1000 Subject: For new lexer design change includes to add new files and remove unused files. Normalise order of includes. Minor fixes for compatibility with new lexer design. --- lexers/LexSML.cxx | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'lexers/LexSML.cxx') diff --git a/lexers/LexSML.cxx b/lexers/LexSML.cxx index a41b4c10d..63eac3aee 100644 --- a/lexers/LexSML.cxx +++ b/lexers/LexSML.cxx @@ -6,21 +6,24 @@ // Modified from LexCaml.cxx by Robert Roessler Copyright 2005 // The License.txt file describes the conditions under which this software may be distributed. - #include #include -#include #include #include +#include +#include -#include "Platform.h" +#include "ILexer.h" +#include "Scintilla.h" +#include "SciLexer.h" -#include "PropSet.h" +#include "PropSetSimple.h" +#include "WordList.h" +#include "LexAccessor.h" #include "Accessor.h" #include "StyleContext.h" -#include "KeyWords.h" -#include "Scintilla.h" -#include "SciLexer.h" +#include "CharacterSet.h" +#include "LexerModule.h" inline int issml(int c) {return isalnum(c) || c == '_';} inline int issmlf(int c) {return isalpha(c) || c == '_';} @@ -67,7 +70,7 @@ void ColouriseSMLDoc( else if (sc.Match('#','\"')){ state2 = SCE_SML_CHAR,chLit = 0; sc.Forward(); - + } else if (isdigit(sc.ch)) { state2 = SCE_SML_NUMBER, chBase = 10; @@ -218,4 +221,4 @@ static const char * const SMLWordListDesc[] = { }; LexerModule lmSML(SCLEX_SML, ColouriseSMLDoc, "SML", FoldSMLDoc, SMLWordListDesc); - + -- cgit v1.2.3