summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-03-03 11:45:45 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-03-03 11:45:45 (GMT)
commit4bf108d74f2e36f16f4c0c00e7791e418e2d47ff (patch)
tree5d19f6610a464a81add147dd85fd1e72a8f480a8 /Python/pythonrun.c
parenta4dac4094acd35810b1497bbf99642fc98afd475 (diff)
downloadcpython-4bf108d74f2e36f16f4c0c00e7791e418e2d47ff.zip
cpython-4bf108d74f2e36f16f4c0c00e7791e418e2d47ff.tar.gz
cpython-4bf108d74f2e36f16f4c0c00e7791e418e2d47ff.tar.bz2
Patch #802188: better parser error message for non-EOL following line cont.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index e9f4765..6d69165 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";