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/LexPython.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexPython.cxx') diff --git a/lexers/LexPython.cxx b/lexers/LexPython.cxx index fedc31259..7ab3e084c 100644 --- a/lexers/LexPython.cxx +++ b/lexers/LexPython.cxx @@ -385,7 +385,7 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle, base_n_number = false; sc.SetState(SCE_P_NUMBER); } - } else if ((isascii(sc.ch) && isoperator(static_cast(sc.ch))) || sc.ch == '`') { + } else if ((IsASCII(sc.ch) && isoperator(static_cast(sc.ch))) || sc.ch == '`') { sc.SetState(SCE_P_OPERATOR); } else if (sc.ch == '#') { sc.SetState(sc.chNext == '#' ? SCE_P_COMMENTBLOCK : SCE_P_COMMENTLINE); -- cgit v1.2.3