diff options
author | Guido van Rossum <guido@python.org> | 1990-12-20 23:13:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-12-20 23:13:00 (GMT) |
commit | b156d7259bd8b2c84ca7f8e8e9e8e24d4a49870d (patch) | |
tree | 96ba67ffffd5071a1d6a118de701fde7da999a11 /Parser | |
parent | 73531a3bae554998dd7d6d5d782d44fbf0da2ee8 (diff) | |
download | cpython-b156d7259bd8b2c84ca7f8e8e9e8e24d4a49870d.zip cpython-b156d7259bd8b2c84ca7f8e8e9e8e24d4a49870d.tar.gz cpython-b156d7259bd8b2c84ca7f8e8e9e8e24d4a49870d.tar.bz2 |
Changes for THINK C 4.0.
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/tokenizer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index ad6f63a..6bb57ef 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -358,8 +358,8 @@ tok_get(tok, p_start, p_end) This is also recognized by vi, when it occurs near the beginning or end of the file. (Will vi never die...?) */ int x; - /* XXX The case to (unsigned char *) is needed by THINK C */ - if (sscanf((unsigned char *)tok->cur, + /* XXX The case to (unsigned char *) is needed by THINK C 3.0 */ + if (sscanf(/*(unsigned char *)*/tok->cur, " vi:set tabsize=%d:", &x) == 1 && x >= 1 && x <= 40) { fprintf(stderr, "# vi:set tabsize=%d:\n", x); |