diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-26 16:50:21 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-26 16:50:21 (GMT) |
commit | fa64afb29a232d853b04e8e7bb5ad53c3d02f019 (patch) | |
tree | 3fff9cc7c897fa0e1aa2cecc65aaf232211dd03b /generic/tclParse.h | |
parent | 5f4d72886372eacd51d78f6431e812a978dae48f (diff) | |
download | tcl-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.h | 2 |
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[]; |