summaryrefslogtreecommitdiffstats
path: root/src/LexCLW.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexCLW.cpp')
-rwxr-xr-xsrc/LexCLW.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LexCLW.cpp b/src/LexCLW.cpp
index e28e4b1..5bacdb6 100755
--- a/src/LexCLW.cpp
+++ b/src/LexCLW.cpp
@@ -277,7 +277,7 @@ static void ColouriseClarionDoc(unsigned int uiStartPos, int iLength, int iInitS
// If statement string is in the equate list
if (wlStandardEquates.InList(cEquate)) {
// Change to equate state
- scDoc.ChangeState(SCE_CLW_STANDARD_EQUATE);
+ scDoc.ChangeState(SCE_CLW_STANDARD_ETQUATE);
}
}
// If the character is not a valid label character
@@ -322,7 +322,7 @@ static void ColouriseClarionDoc(unsigned int uiStartPos, int iLength, int iInitS
// Else if statement string is in the standard equate keyword list
else if (wlStandardEquates.InList(cStatement)) {
// Change the statement string to the standard equate state
- scDoc.ChangeState(SCE_CLW_STANDARD_EQUATE);
+ scDoc.ChangeState(SCE_CLW_STANDARD_ETQUATE);
}
// Else if statement string is in the deprecated or legacy keyword list
else if (wlLegacyStatements.InList(cStatement)) {
@@ -380,7 +380,7 @@ static void ColouriseClarionDoc(unsigned int uiStartPos, int iLength, int iInitS
}
}
// Standard Equate State Handling
- else if (scDoc.state == SCE_CLW_STANDARD_EQUATE) {
+ else if (scDoc.state == SCE_CLW_STANDARD_ETQUATE) {
if (!isalnum(scDoc.ch)) {
scDoc.SetState(SCE_CLW_DEFAULT);
}