mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
gh-93103: Parser uses PyConfig.parser_debug instead of Py_DebugFlag (#93106)
* Replace deprecated Py_DebugFlag with PyConfig.parser_debug in the parser. * Add Parser.debug member. * Add tok_state.debug member. * Py_FrozenMain(): Replace Py_VerboseFlag with PyConfig.verbose.
This commit is contained in:
parent
d2ef66a10b
commit
5115a16831
7 changed files with 14 additions and 4 deletions
|
@ -84,6 +84,9 @@ struct tok_state {
|
|||
NEWLINE token after it. */
|
||||
/* How to proceed when asked for a new token in interactive mode */
|
||||
enum interactive_underflow_t interactive_underflow;
|
||||
#ifdef Py_DEBUG
|
||||
int debug;
|
||||
#endif
|
||||
};
|
||||
|
||||
extern struct tok_state *_PyTokenizer_FromString(const char *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue