aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexGAP.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
commit7820ce6dcf054f033d243f972afb5fff1c5bdebe (patch)
tree88939e49bcffe1b323ec01c490ff1adb7676b750 /lexers/LexGAP.cxx
parent95e4b3e9fe7582623adfbc9de6385a813644156e (diff)
downloadscintilla-mirror-7820ce6dcf054f033d243f972afb5fff1c5bdebe.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/LexGAP.cxx')
-rw-r--r--lexers/LexGAP.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexGAP.cxx b/lexers/LexGAP.cxx
index fb3066098..bc0bc2144 100644
--- a/lexers/LexGAP.cxx
+++ b/lexers/LexGAP.cxx
@@ -29,7 +29,7 @@ using namespace Scintilla;
#endif
static inline bool IsGAPOperator(char ch) {
- if (isascii(ch) && isalnum(ch)) return false;
+ if (IsASCII(ch) && isalnum(ch)) return false;
if (ch == '+' || ch == '-' || ch == '*' || ch == '/' ||
ch == '^' || ch == ',' || ch == '!' || ch == '.' ||
ch == '=' || ch == '<' || ch == '>' || ch == '(' ||