aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexCOBOL.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexCOBOL.cxx')
-rw-r--r--lexers/LexCOBOL.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lexers/LexCOBOL.cxx b/lexers/LexCOBOL.cxx
index b3bc011d6..d689762ec 100644
--- a/lexers/LexCOBOL.cxx
+++ b/lexers/LexCOBOL.cxx
@@ -44,13 +44,13 @@ inline bool isCOBOLoperator(char ch)
inline bool isCOBOLwordchar(char ch)
{
- return isascii(ch) && (isalnum(ch) || ch == '-');
+ return IsASCII(ch) && (isalnum(ch) || ch == '-');
}
inline bool isCOBOLwordstart(char ch)
{
- return isascii(ch) && isalnum(ch);
+ return IsASCII(ch) && isalnum(ch);
}
static int CountBits(int nBits)
@@ -205,7 +205,7 @@ static void ColouriseCOBOLDoc(unsigned int startPos, int length, int initStyle,
}
if (state == SCE_C_DEFAULT) {
- if (isCOBOLwordstart(ch) || (ch == '$' && isascii(chNext) && isalpha(chNext))) {
+ if (isCOBOLwordstart(ch) || (ch == '$' && IsASCII(chNext) && isalpha(chNext))) {
ColourTo(styler, i-1, state);
state = SCE_C_IDENTIFIER;
} else if (column == 6 && ch == '*') {