diff options
Diffstat (limited to 'Parser/tokenizer.h')
-rw-r--r-- | Parser/tokenizer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h index 837bdca..a47b537 100644 --- a/Parser/tokenizer.h +++ b/Parser/tokenizer.h @@ -62,6 +62,12 @@ struct tok_state { int lineno; /* Current line number */ int level; /* () [] {} Parentheses nesting level */ /* Used to allow free continuations inside them */ + /* Stuff for checking on different tab sizes */ + char *filename; /* For error messages */ + int altwarning; /* Issue warning if alternate tabs don't match */ + int alterror; /* Issue error if alternate tabs don't match */ + int alttabsize; /* Alternate tab spacing */ + int altindstack[MAXINDENT]; /* Stack of alternate indents */ }; extern struct tok_state *PyTokenizer_FromString Py_PROTO((char *)); |