diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-03-03 11:45:45 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-03-03 11:45:45 +0000 |
commit | 3a6bf457d22a3594e40c5fb770469b30fdee3c99 (patch) | |
tree | 8d462cb166d15c625f8668649f9e4673beaa36b4 /Python/pythonrun.c | |
parent | 2f015f0addd0141b58b8ccb47ec203c90d2a8288 (diff) | |
download | cpython-3a6bf457d22a3594e40c5fb770469b30fdee3c99.tar.gz |
Patch #802188: better parser error message for non-EOL following line cont.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |