]> granicus.if.org Git - python/commit
tokenizer: Remove unused tabs options (#4422)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 17 Nov 2017 09:25:47 +0000 (01:25 -0800)
committerGitHub <noreply@github.com>
Fri, 17 Nov 2017 09:25:47 +0000 (01:25 -0800)
commitf2ddc6ac9370a1805ab1b751437df8f96f38bfcf
treee1e861bb2d8f28b866ecacbee2e0759c580b5818
parentfd0fa67464f75cebca67cd14d050476a0c73bd53
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.
Parser/tokenizer.c
Parser/tokenizer.h