summaryrefslogtreecommitdiffstats
path: root/generic/tclParse.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-26 16:50:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-26 16:50:21 (GMT)
commitfa64afb29a232d853b04e8e7bb5ad53c3d02f019 (patch)
tree3fff9cc7c897fa0e1aa2cecc65aaf232211dd03b /generic/tclParse.h
parent5f4d72886372eacd51d78f6431e812a978dae48f (diff)
downloadtcl-fa64afb29a232d853b04e8e7bb5ad53c3d02f019.zip
tcl-fa64afb29a232d853b04e8e7bb5ad53c3d02f019.tar.gz
tcl-fa64afb29a232d853b04e8e7bb5ad53c3d02f019.tar.bz2
Replace isspace() -> TclIsSpaceProc() _everywhere_.
Change TclIsSpaceProc() and TclIsBareWord so it works with both signed and unsigned characters. Actually, this is not a signature change, as "char" arguments are enlarged to "int" by the C-compiler anyway.
Diffstat (limited to 'generic/tclParse.h')
-rw-r--r--generic/tclParse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclParse.h b/generic/tclParse.h
index 20c609c..9247602 100644
--- a/generic/tclParse.h
+++ b/generic/tclParse.h
@@ -12,6 +12,6 @@
#define TYPE_CLOSE_BRACK 0x20
#define TYPE_BRACE 0x40
-#define CHAR_TYPE(c) (tclCharTypeTable+128)[(int)(c)]
+#define CHAR_TYPE(c) (tclCharTypeTable+128)[(unsigned char)(c)]
MODULE_SCOPE const char tclCharTypeTable[];