add a AST validator (closes #12575)

This commit is contained in:
Benjamin Peterson 2011-08-09 16:15:04 -05:00
parent 450bb594c8
commit 832bfe2ebd
5 changed files with 897 additions and 6 deletions

View file

@ -4,6 +4,7 @@
extern "C" {
#endif
PyAPI_FUNC(int) PyAST_Validate(mod_ty);
PyAPI_FUNC(mod_ty) PyAST_FromNode(
const node *n,
PyCompilerFlags *flags,