aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lexers/LexDMIS.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexDMIS.cxx b/lexers/LexDMIS.cxx
index 24aee21d1..7f23ba96b 100644
--- a/lexers/LexDMIS.cxx
+++ b/lexers/LexDMIS.cxx
@@ -263,7 +263,7 @@ void SCI_METHOD LexerDMIS::Lex(unsigned int startPos, int lengthDoc, int initSty
scCTX.ChangeState(SCE_DMIS_UNSUPPORTED_MINOR);
};
- if (scCTX.Match('(') && (isIFLine)) {
+ if (scCTX.Match('(') && (!isIFLine)) {
scCTX.SetState(SCE_DMIS_LABEL);
} else {
scCTX.SetState(SCE_DMIS_DEFAULT);