commit | dfe5dc8455de93fddb3030416e41b92d3a0fd267 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Mon Jan 07 18:16:36 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Mon Jan 07 18:16:36 2008 +0000 |
tree | 4a088e75d976c7383f525d730f4f5f5a88cd0a49 | |
parent | aed6c66aa8c9d1d2af9e60323e688452dfd6b6c7 [diff] [blame] |
Make Python compile with --disable-unicode.
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index f59ab59..7fcff20 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c
@@ -1533,6 +1533,7 @@ return result; } +#ifdef Py_USING_UNICODE /* This function is only called from parsetok. However, it cannot live there, as it must be empty for PGEN, and we can check for PGEN only in this file. */ @@ -1593,6 +1594,7 @@ } #endif +#endif /* defined(Py_USING_UNICODE) */ #ifdef Py_DEBUG