aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorrdaneelolivaw <unknown>2005-12-16 03:57:15 +0000
committerrdaneelolivaw <unknown>2005-12-16 03:57:15 +0000
commit18730dffd2b2c5236e16701e57620e4f18d2414b (patch)
tree45dda0e52992115d42d650a9c4c2800130413fed /src
parentfbbee1b273bb2bb04651ce8da7e937374d9a3c0d (diff)
downloadscintilla-mirror-18730dffd2b2c5236e16701e57620e4f18d2414b.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;