Translate E_INDENT to the clearest error message I can think of.

This commit is contained in:
Guido van Rossum 1998-04-10 19:43:42 +00:00
parent bba92ca555
commit 560e8adef7

View File

@ -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";