diff options
author | Georg Brandl <georg@python.org> | 2008-06-04 11:41:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-04 11:41:32 (GMT) |
commit | f954c4b9fb8529cc13a2e24c58137c66ac836b28 (patch) | |
tree | 91575068c14eec261bc4e2c44da9c881eda4efe1 /Parser | |
parent | e5d68aceb529934e75d505bbfaf867e02493a1bc (diff) | |
download | cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.zip cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.gz cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.bz2 |
Remove meaning of -ttt, but still accept -t option on cmdline for compatibility.
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/parsetok.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Parser/parsetok.c b/Parser/parsetok.c index c6be8f9..d8ff6ee 100644 --- a/Parser/parsetok.c +++ b/Parser/parsetok.c @@ -10,8 +10,6 @@ #include "errcode.h" #include "graminit.h" -int Py_TabcheckFlag; - /* Forward */ static node *parsetok(struct tok_state *, grammar *, int, perrdetail *, int *); @@ -57,9 +55,6 @@ PyParser_ParseStringFlagsFilenameEx(const char *s, const char *filename, } tok->filename = filename ? filename : "<string>"; - if (Py_TabcheckFlag >= 3) - tok->alterror = 0; - return parsetok(tok, g, start, err_ret, flags); } @@ -97,9 +92,6 @@ PyParser_ParseFileFlagsEx(FILE *fp, const char *filename, return NULL; } tok->filename = filename; - if (Py_TabcheckFlag >= 3) - tok->alterror = 0; - return parsetok(tok, g, start, err_ret, flags); } |