mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -151,3 +151,9 @@ meta_grammar(void)
|
|||
{
|
||||
return &_PyParser_Grammar;
|
||||
}
|
||||
|
||||
grammar *
|
||||
Py_meta_grammar(void)
|
||||
{
|
||||
return meta_grammar();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue