diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-08-04 20:10:29 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-08-04 20:10:29 +0000 |
commit | a443206226aef629d95c95241f97e3a06f0f609f (patch) | |
tree | d325073920fbe3d56a51b1f6d26454e9b414830d /Parser/tokenizer.h | |
parent | e0a6c994fb8c410d9430ee4f4987ba550dad833c (diff) | |
download | cpython-a443206226aef629d95c95241f97e3a06f0f609f.tar.gz |
Make pgen compile with pydebug. Duplicate normalized names, as it may
be longer than the old string.
Diffstat (limited to 'Parser/tokenizer.h')
-rw-r--r-- | Parser/tokenizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h index 9782666fd8..f3bac74acd 100644 --- a/Parser/tokenizer.h +++ b/Parser/tokenizer.h @@ -45,8 +45,10 @@ struct tok_state { int read_coding_spec; /* whether 'coding:...' has been read */ int issued_encoding_warning; /* whether non-ASCII warning was issued */ char *encoding; +#ifndef PGEN PyObject *decoding_readline; /* codecs.open(...).readline */ PyObject *decoding_buffer; +#endif const char* enc; const char* str; }; |