summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-03-03 11:45:45 +0000
committerMartin v. Löwis <martin@v.loewis.de>2005-03-03 11:45:45 +0000
commit3a6bf457d22a3594e40c5fb770469b30fdee3c99 (patch)
tree8d462cb166d15c625f8668649f9e4673beaa36b4 /Python
parent2f015f0addd0141b58b8ccb47ec203c90d2a8288 (diff)
downloadcpython-3a6bf457d22a3594e40c5fb770469b30fdee3c99.tar.gz
Patch #802188: better parser error message for non-EOL following line cont.
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c3
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";