mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
work. This includes some more code that used to be part of pgen in the main parser; I'm okay with that. I'll see if the Windows build needs work next.
This commit is contained in:
parent
6e5be22d97
commit
d3ab37f1df
6 changed files with 60 additions and 9 deletions
|
|
@ -38,6 +38,10 @@ PyAPI_FUNC(node *) PyParser_ParseStringFlagsFilename(const char *,
|
|||
const char *,
|
||||
grammar *, int,
|
||||
perrdetail *, int);
|
||||
|
||||
/* Note that he following function is defined in pythonrun.c not parsetok.c. */
|
||||
PyAPI_FUNC(void) PyParser_SetError(perrdetail *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue