diff options
author | Christian Heimes <christian@cheimes.de> | 2008-03-26 22:20:26 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-03-26 22:20:26 (GMT) |
commit | 342212c52afd375d93f44f3ecda0914d77372f26 (patch) | |
tree | 3c2ec380edb1d73609018b55eed57bdd3eaddb4f /Parser/parsetok.c | |
parent | 3c60833e1e53f6239825b44f76fa22172feb1790 (diff) | |
download | cpython-342212c52afd375d93f44f3ecda0914d77372f26.zip cpython-342212c52afd375d93f44f3ecda0914d77372f26.tar.gz cpython-342212c52afd375d93f44f3ecda0914d77372f26.tar.bz2 |
Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD
Diffstat (limited to 'Parser/parsetok.c')
-rw-r--r-- | Parser/parsetok.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser/parsetok.c b/Parser/parsetok.c index d8c8f62..71792dd 100644 --- a/Parser/parsetok.c +++ b/Parser/parsetok.c @@ -213,7 +213,9 @@ parsetok(struct tok_state *tok, grammar *g, int start, perrdetail *err_ret, else n = NULL; +#ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD *flags = ps->p_flags; +#endif PyParser_Delete(ps); if (n == NULL) { |