blob: a642d8ba476f9f835fc7d5e84105b91d37195ffb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- scintilla/src/LexCaml.cxx.orig 2005-05-27 03:30:23 UTC
+++ scintilla/src/LexCaml.cxx
@@ -273,7 +273,7 @@ void ColouriseCamlDoc(
case SCE_CAML_OPERATOR: {
// [try to] interpret as [additional] operator char
- char* o = 0;
+ const char* o = 0;
if (iscaml(ch) || isspace(ch) /* ident or whitespace */
|| ((o = strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */
|| !strchr("!$%&*+-./:<=>?@^|~", ch)/* "operator" chars */) {
|