2 /* Parser-tokenizer link interface */
21 #define PyPARSE_YIELD_IS_KEYWORD 0x0001
24 #define PyPARSE_DONT_IMPLY_DEDENT 0x0002
27 #define PyPARSE_WITH_IS_KEYWORD 0x0003
30 PyAPI_FUNC(node
*) PyParser_ParseString(const char *, grammar
*, int,
32 PyAPI_FUNC(node
*) PyParser_ParseFile (FILE *, const char *, grammar
*, int,
33 char *, char *, perrdetail
*);
35 PyAPI_FUNC(node
*) PyParser_ParseStringFlags(const char *, grammar
*, int,
37 PyAPI_FUNC(node
*) PyParser_ParseFileFlags(FILE *, const char *, grammar
*,
41 PyAPI_FUNC(node
*) PyParser_ParseStringFlagsFilename(const char *,
46 /* Note that he following function is defined in pythonrun.c not parsetok.c. */
47 PyAPI_FUNC(void) PyParser_SetError(perrdetail
*);
52 #endif /* !Py_PARSETOK_H */