mirror of https://github.com/python/cpython.git
Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD
This commit is contained in:
parent
3c60833e1e
commit
342212c52a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue