diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-08-04 17:58:34 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-08-04 17:58:34 (GMT) |
commit | 2c3f9c6f04009f01aec1e10a1b6f926372d0f8fe (patch) | |
tree | c28561efdf1b447e63c099fb4acd1975f6acdd1e /Parser/tokenizer.c | |
parent | 919603b27a5d81a4b9cd470085e046033299f48a (diff) | |
download | cpython-2c3f9c6f04009f01aec1e10a1b6f926372d0f8fe.zip cpython-2c3f9c6f04009f01aec1e10a1b6f926372d0f8fe.tar.gz cpython-2c3f9c6f04009f01aec1e10a1b6f926372d0f8fe.tar.bz2 |
Repaired a fatal compiler error in the debug build: it's not clear what
this was trying to assert, but the name it referenced didn't exist.
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 6b37b31..b1a9ee1 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -503,7 +503,7 @@ decode_str(const char *str, struct tok_state *tok) if (!check_bom(buf_getc, buf_ungetc, buf_setreadl, tok)) return NULL; str = tok->str; /* string after BOM if any */ - assert(r); + assert(str); if (tok->enc != NULL) { utf8 = translate_into_utf8(str, tok->enc); if (utf8 == NULL) |