summaryrefslogtreecommitdiff
path: root/Parser/tokenizer.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-17 01:25:47 -0800
committerGitHub <noreply@github.com>2017-11-17 01:25:47 -0800
commitf2ddc6ac9370a1805ab1b751437df8f96f38bfcf (patch)
treee1e861bb2d8f28b866ecacbee2e0759c580b5818 /Parser/tokenizer.h
parentfd0fa67464f75cebca67cd14d050476a0c73bd53 (diff)
downloadcpython-git-f2ddc6ac9370a1805ab1b751437df8f96f38bfcf.tar.gz
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.
Diffstat (limited to 'Parser/tokenizer.h')
-rw-r--r--Parser/tokenizer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h
index ad8b1c8017..2e31d8624d 100644
--- a/Parser/tokenizer.h
+++ b/Parser/tokenizer.h
@@ -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;