[Python-checkins] python/dist/src/Parser tokenizer.c,2.76,2.77
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Thu Mar 3 12:45:47 CET 2005
Update of /cvsroot/python/python/dist/src/Parser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17432/Parser
Modified Files:
tokenizer.c
Log Message:
Patch #802188: better parser error message for non-EOL following line cont.
Index: tokenizer.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/tokenizer.c,v
retrieving revision 2.76
retrieving revision 2.77
diff -u -d -r2.76 -r2.77
--- tokenizer.c 4 Aug 2004 17:36:41 -0000 2.76
+++ tokenizer.c 3 Mar 2005 11:45:45 -0000 2.77
@@ -1413,7 +1413,7 @@
if (c == '\\') {
c = tok_nextc(tok);
if (c != '\n') {
- tok->done = E_TOKEN;
+ tok->done = E_LINECONT;
tok->cur = tok->inp;
return ERRORTOKEN;
}
More information about the Python-checkins
mailing list