From 87e59817db5e6cfd18b07f160b4b468b196072a5 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 21 Jul 2013 15:20:45 +1000 Subject: 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. --- lexers/LexOthers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexOthers.cxx') diff --git a/lexers/LexOthers.cxx b/lexers/LexOthers.cxx index 8015af1c9..cdb4b3d17 100644 --- a/lexers/LexOthers.cxx +++ b/lexers/LexOthers.cxx @@ -40,7 +40,7 @@ static bool Is1To9(char ch) { } static bool IsAlphabetic(int ch) { - return isascii(ch) && isalpha(ch); + return IsASCII(ch) && isalpha(ch); } static inline bool AtEOL(Accessor &styler, unsigned int i) { -- cgit v1.2.3