From 18730dffd2b2c5236e16701e57620e4f18d2414b Mon Sep 17 00:00:00 2001 From: rdaneelolivaw Date: Fri, 16 Dec 2005 03:57:15 +0000 Subject: "Correctness" change for still better parsing of OCaml tagnames - NO external effects --- src/LexCaml.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3