diff options
Diffstat (limited to 'src/LexRebol.cpp')
-rw-r--r-- | src/LexRebol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexRebol.cpp b/src/LexRebol.cpp index 79d194a..f829c1e 100644 --- a/src/LexRebol.cpp +++ b/src/LexRebol.cpp @@ -190,7 +190,7 @@ static void ColouriseRebolDoc(unsigned int startPos, int length, int initStyle, } //--- Determine if the current state should terminate - if (sc.state == SCE_REBOL_TQUOTEDSTRING || sc.state == SCE_REBOL_CHARACTER) { + if (sc.state == SCE_REBOL_QUOTEDSTRING || sc.state == SCE_REBOL_CHARACTER) { if (sc.ch == '^' && sc.chNext == '\"') { sc.Forward(); } else if (sc.ch == '\"') { @@ -243,7 +243,7 @@ static void ColouriseRebolDoc(unsigned int startPos, int length, int initStyle, dotCount = 0; sc.SetState(SCE_REBOL_NUMBER); } else if (sc.ch == '\"') { - sc.SetState(SCE_REBOL_TQUOTEDSTRING); + sc.SetState(SCE_REBOL_QUOTEDSTRING); } else if (sc.ch == '{') { sc.SetState(blockComment ? SCE_REBOL_COMMENTBLOCK : SCE_REBOL_BRACEDSTRING); ++stringLevel; |