aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexCaml.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-07-13 21:44:00 +1000
committernyamatongwe <unknown>2010-07-13 21:44:00 +1000
commit87a3a96b3d5047f28d5d89b935014da1fcde1975 (patch)
tree402255a7faccf60f9bddd940acb033909014f078 /lexers/LexCaml.cxx
parent593fe3f8be7da9bbacd7d0e840131b0597918357 (diff)
downloadscintilla-mirror-87a3a96b3d5047f28d5d89b935014da1fcde1975.tar.gz
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.
Diffstat (limited to 'lexers/LexCaml.cxx')
-rw-r--r--lexers/LexCaml.cxx19
1 files changed, 13 insertions, 6 deletions
diff --git a/lexers/LexCaml.cxx b/lexers/LexCaml.cxx
index ca1b65f38..f576e3e23 100644
--- a/lexers/LexCaml.cxx
+++ b/lexers/LexCaml.cxx
@@ -20,19 +20,22 @@
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
+#include <assert.h>
+#include <ctype.h>
-#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"
// Since the Microsoft __iscsym[f] funcs are not ANSI...
inline int iscaml(int c) {return isalnum(c) || c == '_';}
@@ -51,9 +54,13 @@ using namespace Scintilla;
/*
(actually seems to work!)
*/
+#include <string>
#include "WindowAccessor.h"
#include "ExternalLexer.h"
+#undef EXT_LEXER_DECL
+#define EXT_LEXER_DECL __declspec( dllexport ) __stdcall
+
#if PLAT_WIN
#include <windows.h>
#endif