Chris@87
|
1 #ifndef Py_PGENHEADERS_H
|
Chris@87
|
2 #define Py_PGENHEADERS_H
|
Chris@87
|
3 #ifdef __cplusplus
|
Chris@87
|
4 extern "C" {
|
Chris@87
|
5 #endif
|
Chris@87
|
6
|
Chris@87
|
7
|
Chris@87
|
8 /* Include files and extern declarations used by most of the parser. */
|
Chris@87
|
9
|
Chris@87
|
10 #include "Python.h"
|
Chris@87
|
11
|
Chris@87
|
12 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
|
Chris@87
|
13 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
|
Chris@87
|
14 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
|
Chris@87
|
15 Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
|
Chris@87
|
16
|
Chris@87
|
17 #define addarc _Py_addarc
|
Chris@87
|
18 #define addbit _Py_addbit
|
Chris@87
|
19 #define adddfa _Py_adddfa
|
Chris@87
|
20 #define addfirstsets _Py_addfirstsets
|
Chris@87
|
21 #define addlabel _Py_addlabel
|
Chris@87
|
22 #define addstate _Py_addstate
|
Chris@87
|
23 #define delbitset _Py_delbitset
|
Chris@87
|
24 #define dumptree _Py_dumptree
|
Chris@87
|
25 #define findlabel _Py_findlabel
|
Chris@87
|
26 #define mergebitset _Py_mergebitset
|
Chris@87
|
27 #define meta_grammar _Py_meta_grammar
|
Chris@87
|
28 #define newbitset _Py_newbitset
|
Chris@87
|
29 #define newgrammar _Py_newgrammar
|
Chris@87
|
30 #define pgen _Py_pgen
|
Chris@87
|
31 #define printgrammar _Py_printgrammar
|
Chris@87
|
32 #define printnonterminals _Py_printnonterminals
|
Chris@87
|
33 #define printtree _Py_printtree
|
Chris@87
|
34 #define samebitset _Py_samebitset
|
Chris@87
|
35 #define showtree _Py_showtree
|
Chris@87
|
36 #define tok_dump _Py_tok_dump
|
Chris@87
|
37 #define translatelabels _Py_translatelabels
|
Chris@87
|
38
|
Chris@87
|
39 #ifdef __cplusplus
|
Chris@87
|
40 }
|
Chris@87
|
41 #endif
|
Chris@87
|
42 #endif /* !Py_PGENHEADERS_H */
|