[Python-checkins] python/dist/src/Python pythonrun.c,2.211,2.212

loewis at users.sourceforge.net loewis at users.sourceforge.net
Thu Mar 3 12:45:48 CET 2005


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17432/Python

Modified Files:
	pythonrun.c 
Log Message:
Patch #802188: better parser error message for non-EOL following line cont.


Index: pythonrun.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pythonrun.c,v
retrieving revision 2.211
retrieving revision 2.212
diff -u -d -r2.211 -r2.212
--- pythonrun.c	13 Oct 2004 14:48:50 -0000	2.211
+++ pythonrun.c	3 Mar 2005 11:45:45 -0000	2.212
@@ -1484,6 +1484,9 @@
 			msg = "unknown decode error";
 		break;
 	}
+	case E_LINECONT:
+		msg = "unexpected character after line continuation character";
+		break;
 	default:
 		fprintf(stderr, "error=%d\n", err->error);
 		msg = "unknown parsing error";



More information about the Python-checkins mailing list