Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD

This commit is contained in:
Christian Heimes 2008-03-26 22:20:26 +00:00
parent 3c60833e1e
commit 342212c52a
1 changed files with 2 additions and 0 deletions

View File

@ -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) {