mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
tokenizer: Remove unused tabs options (#4422)
Remove the following fields from tok_state structure which are now used unused: * altwarning: "Issue warning if alternate tabs don't match" * alterror: "Issue error if alternate tabs don't match" * alttabsize: "Alternate tab spacing" Replace alttabsize variable with ALTTABSIZE define.
This commit is contained in:
parent
fd0fa67464
commit
f2ddc6ac93
2 changed files with 11 additions and 34 deletions
|
|
@ -47,9 +47,6 @@ struct tok_state {
|
|||
(Grammar/Grammar). */
|
||||
PyObject *filename;
|
||||
#endif
|
||||
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 */
|
||||
/* Stuff for PEP 0263 */
|
||||
enum decoding_state decoding_state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue