From 4bf108d74f2e36f16f4c0c00e7791e418e2d47ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 3 Mar 2005 11:45:45 +0000 Subject: Patch #802188: better parser error message for non-EOL following line cont. --- Python/pythonrun.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index e9f4765a1e..6d691655cc 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1484,6 +1484,9 @@ err_input(perrdetail *err) 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"; -- cgit v1.2.1