Mercurial > cpython-lru_cache-weakref
diff Include/Python-ast.h @ 35866:9f73dc0953d2 legacy-trunk
Whoops, checkin consistent versions of *all* files to stop polluting
a bunch of names
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sun, 13 Nov 2005 19:14:20 +0000 |
| parents | 6867995a18a7 |
| children | 52f1d57f237d |
line wrap: on
line diff
--- a/Include/Python-ast.h Sun Nov 13 18:58:32 2005 +0000 +++ b/Include/Python-ast.h Sun Nov 13 19:14:20 2005 +0000 @@ -34,6 +34,7 @@ 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 @@ identifier asname; }; + mod_ty Module(asdl_seq * body); mod_ty Interactive(asdl_seq * body); mod_ty Expression(expr_ty body); @@ -388,6 +390,7 @@ 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_arguments(arguments_ty); void free_keyword(keyword_ty); void free_alias(alias_ty); +
