[Python-checkins] python/dist/src/Parser tokenizer.c,2.56,2.57
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Sun, 04 Aug 2002 10:58:36 -0700
Update of /cvsroot/python/python/dist/src/Parser
In directory usw-pr-cvs1:/tmp/cvs-serv7727/python/Parser
Modified Files:
tokenizer.c
Log Message:
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.
Index: tokenizer.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/tokenizer.c,v
retrieving revision 2.56
retrieving revision 2.57
diff -C2 -d -r2.56 -r2.57
*** tokenizer.c 4 Aug 2002 17:56:42 -0000 2.56
--- tokenizer.c 4 Aug 2002 17:58:34 -0000 2.57
***************
*** 504,508 ****
return NULL;
str = tok->str; /* string after BOM if any */
! assert(r);
if (tok->enc != NULL) {
utf8 = translate_into_utf8(str, tok->enc);
--- 504,508 ----
return NULL;
str = tok->str; /* string after BOM if any */
! assert(str);
if (tok->enc != NULL) {
utf8 = translate_into_utf8(str, tok->enc);