2 /* Parser-tokenizer link interface */
21 #define PyPARSE_YIELD_IS_KEYWORD 0x0001
24 #define PyPARSE_DONT_IMPLY_DEDENT 0x0002
26 PyAPI_FUNC(node
*) PyParser_ParseString(const char *, grammar
*, int,
28 PyAPI_FUNC(node
*) PyParser_ParseFile (FILE *, const char *, grammar
*, int,
29 char *, char *, perrdetail
*);
31 PyAPI_FUNC(node
*) PyParser_ParseStringFlags(const char *, grammar
*, int,
33 PyAPI_FUNC(node
*) PyParser_ParseFileFlags(FILE *, const char *, grammar
*,
37 PyAPI_FUNC(node
*) PyParser_ParseStringFlagsFilename(const char *,
42 /* Note that he following function is defined in pythonrun.c not parsetok.c. */
43 PyAPI_FUNC(void) PyParser_SetError(perrdetail
*);
48 #endif /* !Py_PARSETOK_H */