diff options
Diffstat (limited to 'src/LexTADS3.cpp')
-rw-r--r-- | src/LexTADS3.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/LexTADS3.cpp b/src/LexTADS3.cpp index 03a4074..9938f63 100644 --- a/src/LexTADS3.cpp +++ b/src/LexTADS3.cpp @@ -50,7 +50,7 @@ #include "Scintilla.h" #include "SciLexer.h" -static const int T3_SINGLE_TQUOTE = 1; +static const int T3_SINGLE_QUOTE = 1; static const int T3_INT_EXPRESSION = 2; static inline bool IsEOL(const int ch, const int chNext) { @@ -106,7 +106,7 @@ static void ColouriseTADSHTMLString(StyleContext &sc, int &lineState) { int endState = sc.state; int chQuote = sc.ch; if (endState == SCE_T3_HTML_STRING) { - if (lineState&T3_SINGLE_TQUOTE) { + if (lineState&T3_SINGLE_QUOTE) { endState = SCE_T3_S_STRING; chQuote = '"'; } else if (lineState&T3_INT_EXPRESSION) { @@ -171,7 +171,7 @@ static void ColouriseTADS3HTMLTag(StyleContext &sc, int &lineState) { sc.SetState(SCE_T3_HTML_DEFAULT); break; case SCE_T3_HTML_DEFAULT: - if (lineState&T3_SINGLE_TQUOTE) { + if (lineState&T3_SINGLE_QUOTE) { endState = SCE_T3_S_STRING; chQuote = '\''; chString = '"'; @@ -261,7 +261,7 @@ static void ColouriseTADS3MsgParam(StyleContext &sc, int &lineState) { sc.Forward(); break; case SCE_T3_MSG_PARAM: - if (lineState&T3_SINGLE_TQUOTE) { + if (lineState&T3_SINGLE_QUOTE) { endState = SCE_T3_S_STRING; chQuote = '\''; } else if (lineState&T3_INT_EXPRESSION) { @@ -301,7 +301,7 @@ static void ColouriseTADS3LibDirective(StyleContext &sc, int &lineState) { sc.Forward(2); break; case SCE_T3_LIB_DIRECTIVE: - if (lineState&T3_SINGLE_TQUOTE) { + if (lineState&T3_SINGLE_QUOTE) { initState = SCE_T3_S_STRING; chQuote = '\''; } else { @@ -337,10 +337,10 @@ static void ColouriseTADS3String(StyleContext &sc, int &lineState) { } else { sc.SetState(SCE_T3_X_STRING); } - lineState &= ~T3_SINGLE_TQUOTE; + lineState &= ~T3_SINGLE_QUOTE; } else { sc.SetState(SCE_T3_S_STRING); - lineState |= T3_SINGLE_TQUOTE; + lineState |= T3_SINGLE_QUOTE; } sc.Forward(); break; @@ -528,7 +528,7 @@ static void ColouriseTADS3Doc(unsigned int startPos, int length, int initStyle, && sc.Match('>', '>')) { sc.Forward(2); sc.SetState(SCE_T3_D_STRING); - lineState &= ~(T3_SINGLE_TQUOTE|T3_INT_EXPRESSION); + lineState &= ~(T3_SINGLE_QUOTE|T3_INT_EXPRESSION); } else if (IsATADS3Operator(sc.ch)) { if (sc.state == SCE_T3_X_DEFAULT) { if (sc.ch == '(') { |