diff options
author | Guido van Rossum <guido@python.org> | 2003-04-17 14:55:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-04-17 14:55:42 (GMT) |
commit | d3ab37f1df86b86d340360412331078a1da63d58 (patch) | |
tree | 27d47aa3323156dda762db527d6247b0f86b6367 /Include/parsetok.h | |
parent | 6e5be22d9747b7d8ebc2b09a3d5492f00ab296eb (diff) | |
download | cpython-d3ab37f1df86b86d340360412331078a1da63d58.zip cpython-d3ab37f1df86b86d340360412331078a1da63d58.tar.gz cpython-d3ab37f1df86b86d340360412331078a1da63d58.tar.bz2 |
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
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.
Diffstat (limited to 'Include/parsetok.h')
-rw-r--r-- | Include/parsetok.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/parsetok.h b/Include/parsetok.h index 99a79b7..b788566 100644 --- a/Include/parsetok.h +++ b/Include/parsetok.h @@ -38,6 +38,10 @@ PyAPI_FUNC(node *) PyParser_ParseStringFlagsFilename(const char *, const char *, grammar *, int, perrdetail *, int); + +/* Note that he following function is defined in pythonrun.c not parsetok.c. */ +PyAPI_FUNC(void) PyParser_SetError(perrdetail *); + #ifdef __cplusplus } #endif |