From e92cad93f7b37e6a97f3040b4fe41c9451f588f1 Mon Sep 17 00:00:00 2001 From: zufuliu Date: Sat, 7 Sep 2024 14:24:44 +0800 Subject: [PATCH] [ASM] Recognize `##` style comment line, issue #851. --- scintilla/lexers/LexAsm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scintilla/lexers/LexAsm.cxx b/scintilla/lexers/LexAsm.cxx index 15c7af120f..c9aeec5eff 100644 --- a/scintilla/lexers/LexAsm.cxx +++ b/scintilla/lexers/LexAsm.cxx @@ -262,7 +262,7 @@ void ColouriseAsmDoc(Sci_PositionU startPos, Sci_Position length, int initStyle, sc.Forward(); } else if (IsADigit(sc.chNext) || (sc.chNext == '$' && IsHexDigit(sc.GetRelative(2)))) { sc.SetState(SCE_ASM_NUMBER); - } else if (IsAsmWordStart(sc.chNext)) { + } else if (IsAsmWordChar(sc.chNext)) { sc.SetState(SCE_ASM_IDENTIFIER); } else { char pp[64];