Create two new exceptions: IndentationError and TabError. These are
used for indentation related errors. This patch includes Ping's
improvements for indentation-related error messages.
Closes SourceForge patches #100734 and #100856.
diff --git a/Include/parsetok.h b/Include/parsetok.h
index 5244e3f..71e7d89 100644
--- a/Include/parsetok.h
+++ b/Include/parsetok.h
@@ -22,6 +22,8 @@
int lineno;
int offset;
char *text;
+ int token;
+ int expected;
} perrdetail;
extern DL_IMPORT(node *) PyParser_ParseString(char *, grammar *, int,