From 560e8adef71dd10898e0f8a0a9a20599e6bec857 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 10 Apr 1998 19:43:42 +0000 Subject: Translate E_INDENT to the clearest error message I can think of. --- 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 87b691aed1a..16aba5c3bcd 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"; -- cgit v1.2.3