aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexYAML.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-07-21 15:20:45 +1000
committerNeil <nyamatongwe@gmail.com>2013-07-21 15:20:45 +1000
commit87e59817db5e6cfd18b07f160b4b468b196072a5 (patch)
treea6759b4ddda9d665be1b2faae31d2c1721cbe94d /lexers/LexYAML.cxx
parent84c83f9655629911abf29a012979d94040c4c2cd (diff)
downloadscintilla-mirror-87e59817db5e6cfd18b07f160b4b468b196072a5.tar.gz
Replace all instances of isascii with Scintilla-specific IsASCII.
iasascii is not part of ISO C or C++ but is a BSD extension so caused problems when compiling in strict compliance mode.
Diffstat (limited to 'lexers/LexYAML.cxx')
-rw-r--r--lexers/LexYAML.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexYAML.cxx b/lexers/LexYAML.cxx
index c808d9743..7752d86e3 100644
--- a/lexers/LexYAML.cxx
+++ b/lexers/LexYAML.cxx
@@ -150,7 +150,7 @@ static void ColouriseYAMLLine(
} else {
unsigned int i2 = i;
while ((i < lengthLine) && lineBuffer[i]) {
- if (!(isascii(lineBuffer[i]) && isdigit(lineBuffer[i])) && lineBuffer[i] != '-' && lineBuffer[i] != '.' && lineBuffer[i] != ',') {
+ if (!(IsASCII(lineBuffer[i]) && isdigit(lineBuffer[i])) && lineBuffer[i] != '-' && lineBuffer[i] != '.' && lineBuffer[i] != ',') {
styler.ColourTo(endPos, SCE_YAML_DEFAULT);
return;
}