diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2005-11-13 19:14:20 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-11-13 19:14:20 (GMT) |
commit | 7b5a604d247e8446dbcb208ab2b1e231eff1e9cf (patch) | |
tree | 4e5a45b76fbc7efe4f586318fe22ee40eb9aab18 /Include/Python-ast.h | |
parent | 497b19a8a2c1275709ad7490e4c11750ede026fb (diff) | |
download | cpython-7b5a604d247e8446dbcb208ab2b1e231eff1e9cf.zip cpython-7b5a604d247e8446dbcb208ab2b1e231eff1e9cf.tar.gz cpython-7b5a604d247e8446dbcb208ab2b1e231eff1e9cf.tar.bz2 |
Whoops, checkin consistent versions of *all* files to stop polluting
a bunch of names
Diffstat (limited to 'Include/Python-ast.h')
-rw-r--r-- | Include/Python-ast.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/Python-ast.h b/Include/Python-ast.h index abc5bcb..9609141 100644 --- a/Include/Python-ast.h +++ b/Include/Python-ast.h @@ -34,6 +34,7 @@ typedef struct _keyword *keyword_ty; typedef struct _alias *alias_ty; + struct _mod { enum { Module_kind=1, Interactive_kind=2, Expression_kind=3, Suite_kind=4 } kind; @@ -326,6 +327,7 @@ struct _alias { identifier asname; }; + mod_ty Module(asdl_seq * body); mod_ty Interactive(asdl_seq * body); mod_ty Expression(expr_ty body); @@ -388,6 +390,7 @@ arguments_ty arguments(asdl_seq * args, identifier vararg, identifier kwarg, asdl_seq * defaults); keyword_ty keyword(identifier arg, expr_ty value); alias_ty alias(identifier name, identifier asname); + void free_mod(mod_ty); void free_stmt(stmt_ty); void free_expr(expr_ty); @@ -402,3 +405,4 @@ void free_excepthandler(excepthandler_ty); void free_arguments(arguments_ty); void free_keyword(keyword_ty); void free_alias(alias_ty); + |