mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
d3ab37f1df
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.
19 lines
253 B
C
19 lines
253 B
C
#ifndef Py_PGEN_H
|
|
#define Py_PGEN_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
/* Parser generator interface */
|
|
|
|
extern grammar *meta_grammar(void);
|
|
|
|
struct _node;
|
|
extern grammar *pgen(struct _node *);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* !Py_PGEN_H */
|