summaryrefslogtreecommitdiff
path: root/Parser
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-07 18:10:24 +0000
committerGeorg Brandl <georg@python.org>2008-01-07 18:10:24 +0000
commitb04f2516af49847319563107dcd4049a91bd2354 (patch)
tree011eb21454b531df1433c857f6cd7d57567ea740 /Parser
parent103ac50d68cf863c7391cf266a76d2001962d62a (diff)
downloadcpython-b04f2516af49847319563107dcd4049a91bd2354.tar.gz
Remove traces of Py_USING_UNICODE and Unicode-specific conditionals in configure.
Rename --enable-unicode to --with-wide-unicode; the default is still not wide.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/parsetok.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Parser/parsetok.c b/Parser/parsetok.c
index 8d0704a4b9..0b3314ec92 100644
--- a/Parser/parsetok.c
+++ b/Parser/parsetok.c
@@ -218,10 +218,7 @@ parsetok(struct tok_state *tok, grammar *g, int start, perrdetail *err_ret,
assert(tok->cur - tok->buf < INT_MAX);
err_ret->offset = (int)(tok->cur - tok->buf);
len = tok->inp - tok->buf;
-#ifdef Py_USING_UNICODE
text = PyTokenizer_RestoreEncoding(tok, len, &err_ret->offset);
-
-#endif
if (text == NULL) {
text = (char *) PyObject_MALLOC(len + 1);
if (text != NULL) {