diff Python/pythonrun.c @ 7967:bbd2b5d8d0b6 legacy-trunk

Translate E_INDENT to the clearest error message I can think of.
author Guido van Rossum <guido@python.org>
date Fri, 10 Apr 1998 19:43:42 +0000
parents 3c4f736d5e01
children 070de4d39ddd
line wrap: on
line diff
--- a/Python/pythonrun.c	Fri Apr 10 19:39:15 1998 +0000
+++ b/Python/pythonrun.c	Fri Apr 10 19:43:42 1998 +0000
@@ -997,6 +997,9 @@
 	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";