aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util
diff options
context:
space:
mode:
authorJohannes Schickel2012-12-13 20:58:55 +0100
committerJohannes Schickel2012-12-13 21:08:48 +0100
commit2773f5d7afc381205b5e0fcb8b20700007472516 (patch)
treed30e3de3e38007e956cae3f6b32f7b771ceddfc5 /engines/sword25/util
parentb0ba4b01a4fee3409768bdced4de6719b51297bc (diff)
downloadscummvm-rg350-2773f5d7afc381205b5e0fcb8b20700007472516.tar.gz
scummvm-rg350-2773f5d7afc381205b5e0fcb8b20700007472516.tar.bz2
scummvm-rg350-2773f5d7afc381205b5e0fcb8b20700007472516.zip
COMMON: Forbid symbols for the rest of is* from ctype.h.
I also moved the isprint case to the correct position. This adds a FIXME to our lua code from sword25, which uses iscntrl directly.
Diffstat (limited to 'engines/sword25/util')
-rw-r--r--engines/sword25/util/lua/llex.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword25/util/lua/llex.cpp b/engines/sword25/util/lua/llex.cpp
index f8433d3afa..423f0285ca 100644
--- a/engines/sword25/util/lua/llex.cpp
+++ b/engines/sword25/util/lua/llex.cpp
@@ -4,6 +4,8 @@
** See Copyright Notice in lua.h
*/
+// FIXME: Do not directly use iscntrl from ctype.h.
+#define FORBIDDEN_SYMBOL_EXCEPTION_iscntrl
#include "common/util.h"