Commit 560e8ade authored by Guido van Rossum's avatar Guido van Rossum

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

parent bba92ca5
......@@ -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";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment