From ec420a6257cfa1403d8f2dcc399bcf344e328101 Mon Sep 17 00:00:00 2001 From: Andreas Tscharner Date: Fri, 2 May 2014 17:12:03 +0200 Subject: Add missing not sign to fix DMIS label highlighting --- lexers/LexDMIS.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3