diff options
| author | Neil <nyamatongwe@gmail.com> | 2013-07-21 15:20:45 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2013-07-21 15:20:45 +1000 |
| commit | 7820ce6dcf054f033d243f972afb5fff1c5bdebe (patch) | |
| tree | 88939e49bcffe1b323ec01c490ff1adb7676b750 /lexers/LexAsm.cxx | |
| parent | 95e4b3e9fe7582623adfbc9de6385a813644156e (diff) | |
| download | scintilla-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/LexAsm.cxx')
| -rw-r--r-- | lexers/LexAsm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexAsm.cxx b/lexers/LexAsm.cxx index 78874de86..b327ce5f2 100644 --- a/lexers/LexAsm.cxx +++ b/lexers/LexAsm.cxx @@ -344,7 +344,7 @@ void SCI_METHOD LexerAsm::Lex(unsigned int startPos, int length, int initStyle, if (sc.state == SCE_ASM_DEFAULT) { if (sc.ch == ';'){ sc.SetState(SCE_ASM_COMMENT); - } else if (isascii(sc.ch) && (isdigit(sc.ch) || (sc.ch == '.' && isascii(sc.chNext) && isdigit(sc.chNext)))) { + } else if (IsASCII(sc.ch) && (isdigit(sc.ch) || (sc.ch == '.' && IsASCII(sc.chNext) && isdigit(sc.chNext)))) { sc.SetState(SCE_ASM_NUMBER); } else if (IsAWordStart(sc.ch)) { sc.SetState(SCE_ASM_IDENTIFIER); |
