aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexTADS3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexTADS3.cxx')
-rw-r--r--lexers/LexTADS3.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/lexers/LexTADS3.cxx b/lexers/LexTADS3.cxx
index ee16a0ac0..75232e2c4 100644
--- a/lexers/LexTADS3.cxx
+++ b/lexers/LexTADS3.cxx
@@ -33,18 +33,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"
#ifdef SCI_NAMESPACE
using namespace Scintilla;
@@ -70,7 +74,7 @@ static inline bool IsEOL(const int ch, const int chNext) {
* - it doesn't want to admit that there's a newline until reaching the END
* of the sequence. We meet both needs by saying that there's a newline
* when we see the CR in a CR-LF, but skipping the CR before returning so
- * that the caller's caller will see that we've stopped at the LF.
+ * that the caller's caller will see that we've stopped at the LF.
*/
static inline bool IsEOLSkip(StyleContext &sc)
{
@@ -82,17 +86,13 @@ static inline bool IsEOLSkip(StyleContext &sc)
return true;
}
- /*
+ /*
* in other cases, we have at most a 1-character newline, so do the
- * normal IsEOL test
+ * normal IsEOL test
*/
return IsEOL(sc.ch, sc.chNext);
}
-static inline bool IsASpaceOrTab(const int ch) {
- return ch == ' ' || ch == '\t';
-}
-
static inline bool IsATADS3Operator(const int ch) {
return ch == '=' || ch == '{' || ch == '}' || ch == '(' || ch == ')'
|| ch == '[' || ch == ']' || ch == ',' || ch == ':' || ch == ';'
@@ -156,7 +156,7 @@ static void ColouriseTADSHTMLString(StyleContext &sc, int &lineState) {
sc.Forward();
}
if (chQuote == '"')
- lineState &= ~T3_HTML_SQUOTE;
+ lineState &= ~T3_HTML_SQUOTE;
else
lineState |= T3_HTML_SQUOTE;