diff options
author | Guido van Rossum <guido@python.org> | 1998-04-10 19:43:42 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-10 19:43:42 +0000 |
commit | e04b54306a2e97c33c9d73bde0068c9d196ec2fa (patch) | |
tree | 25171bda505dd241e037825b8426ead7b5e871d4 /Python/pythonrun.c | |
parent | d21789245377a3afb7dfc5e7810a5d5049d990ed (diff) | |
download | cpython-e04b54306a2e97c33c9d73bde0068c9d196ec2fa.tar.gz |
Translate E_INDENT to the clearest error message I can think of.
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 87b691aed1..16aba5c3bc 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -997,6 +997,9 @@ err_input(err) case E_EOF: msg = "unexpected EOF while parsing"; break; + case E_INDENT: + msg = "inconsistent use of tabs and spaces in indentation"; + break; default: fprintf(stderr, "error=%d\n", err->error); msg = "unknown parsing error"; |