aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorrdaneelolivaw <devnull@localhost>2005-12-16 03:57:15 +0000
committerrdaneelolivaw <devnull@localhost>2005-12-16 03:57:15 +0000
commit6df3591465d4390932bce08834708942c112d6ea (patch)
tree45dda0e52992115d42d650a9c4c2800130413fed /src
parentce4448afbac52cf90af2a01b50829ec96876ebee (diff)
downloadscintilla-mirror-6df3591465d4390932bce08834708942c112d6ea.tar.gz
"Correctness" change for still better parsing of OCaml tagnames - NO external effects
Diffstat (limited to 'src')
-rw-r--r--src/LexCaml.cxx2
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;