diff options
-rw-r--r-- | src/LexCaml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexCaml.cxx b/src/LexCaml.cxx index 6c2e83705..5f4fad5fb 100644 --- a/src/LexCaml.cxx +++ b/src/LexCaml.cxx @@ -202,7 +202,7 @@ void ColouriseCamlDoc( // it's wide open; what do we have? if (iscamlf(sc.ch)) state2 = SCE_CAML_IDENTIFIER; - else if (sc.Match('`') && isalpha(sc.chNext)) + else if (sc.Match('`') && iscamlf(sc.chNext)) state2 = SCE_CAML_TAGNAME; else if (sc.Match('#') && isdigit(sc.chNext)) state2 = SCE_CAML_LINENUM; |