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