Mercurial > cpython-lru_cache-weakref
diff Parser/parser.h @ 36726:bbf16fd024df legacy-trunk
from __future__ import with_statement addon for 'with', mostly written by
Neal.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Tue, 28 Feb 2006 19:02:24 +0000 |
| parents | eebae4f60d05 |
| children | 57322cb2ca11 |
line wrap: on
line diff
--- a/Parser/parser.h Tue Feb 28 19:02:05 2006 +0000 +++ b/Parser/parser.h Tue Feb 28 19:02:24 2006 +0000 @@ -25,8 +25,8 @@ stack p_stack; /* Stack of parser states */ grammar *p_grammar; /* Grammar to use */ node *p_tree; /* Top of parse tree */ -#if 0 /* future keyword */ - int p_generators; /* 1 if yield is a keyword */ +#ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD + unsigned long p_flags; /* see co_flags in Include/code.h */ #endif } parser_state;
