Skip to content

Commit 832bfe2

Browse files
committed
add a AST validator (closes #12575)
1 parent 450bb59 commit 832bfe2

File tree

5 files changed

+897
-6
lines changed

5 files changed

+897
-6
lines changed

Include/ast.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
extern "C" {
55
#endif
66

7+
PyAPI_FUNC(int) PyAST_Validate(mod_ty);
78
PyAPI_FUNC(mod_ty) PyAST_FromNode(
89
const node *n,
910
PyCompilerFlags *flags,

0 commit comments

Comments
 (0)