summaryrefslogtreecommitdiff
path: root/Parser
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-04 11:41:32 +0000
committerGeorg Brandl <georg@python.org>2008-06-04 11:41:32 +0000
commitcd705c4ea929e29c5bec017e737e76836ae5bf9a (patch)
tree46ba6df4412fe80cae1d8f19533405c7475401e9 /Parser
parentb6246e3b6266485ef6cd2da7b912dce96c58ba7a (diff)
downloadcpython-cd705c4ea929e29c5bec017e737e76836ae5bf9a.tar.gz
Remove meaning of -ttt, but still accept -t option on cmdline for compatibility.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/parsetok.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Parser/parsetok.c b/Parser/parsetok.c
index c6be8f9f2c..d8ff6ee420 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);
}