[Python-checkins] r60356 - python/trunk/Parser/tokenizer.c
neal.norwitz
python-checkins at python.org
Sun Jan 27 18:10:29 CET 2008
Author: neal.norwitz
Date: Sun Jan 27 18:10:29 2008
New Revision: 60356
Modified:
python/trunk/Parser/tokenizer.c
Log:
Add assertion that we do not blow out newl
Modified: python/trunk/Parser/tokenizer.c
==============================================================================
--- python/trunk/Parser/tokenizer.c (original)
+++ python/trunk/Parser/tokenizer.c Sun Jan 27 18:10:29 2008
@@ -605,6 +605,7 @@
for (s = str;; s++) {
if (*s == '0円') break;
else if (*s == '\n') {
+ assert(lineno < 2);
newl[lineno] = s;
lineno++;
if (lineno == 2) break;
More information about the Python-checkins
mailing list