diff Python/pythonrun.c @ 34664:3785610ff763 legacy-trunk

Patch #802188: better parser error message for non-EOL following line cont.
author Martin v. Löwis <martin@v.loewis.de>
date Thu, 03 Mar 2005 11:45:45 +0000
parents b0ec4c9d595b
children 7cfda9898863
line wrap: on
line diff
--- a/Python/pythonrun.c	Thu Mar 03 11:39:45 2005 +0000
+++ b/Python/pythonrun.c	Thu Mar 03 11:45:45 2005 +0000
@@ -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";