[Python-checkins] python/dist/src/Include Python-ast.h, 1.1.2.7,
1.1.2.8
jhylton at users.sourceforge.net
jhylton at users.sourceforge.net
Tue Apr 13 10:58:37 EDT 2004
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16447/Include
Modified Files:
Tag: ast-branch
Python-ast.h
Log Message:
New version of generated AST code to include free routines.
The generated version was edited a little by hand to overcome the
current limitations of asdl_c.py.
Index: Python-ast.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Attic/Python-ast.h,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -C2 -d -r1.1.2.7 -r1.1.2.8
*** Python-ast.h 28 Mar 2003 02:05:28 -0000 1.1.2.7
--- Python-ast.h 13 Apr 2004 14:58:35 -0000 1.1.2.8
***************
*** 1,3 ****
! /* File automatically generated by ../Parser/asdl_c.py */
#include "asdl.h"
--- 1,3 ----
! /* File automatically generated by Parser/asdl_c.py */
#include "asdl.h"
***************
*** 380,383 ****
--- 380,397 ----
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);
+ void free_expr_context(expr_context_ty);
+ void free_slice(slice_ty);
+ void free_boolop(boolop_ty);
+ void free_operator(operator_ty);
+ void free_unaryop(unaryop_ty);
+ void free_cmpop(cmpop_ty);
+ void free_listcomp(listcomp_ty);
+ void free_excepthandler(excepthandler_ty);
+ void free_arguments(arguments_ty);
+ void free_keyword(keyword_ty);
+ void free_alias(alias_ty);
int marshal_write_mod(PyObject **, int *, mod_ty);
int marshal_write_stmt(PyObject **, int *, stmt_ty);
More information about the Python-checkins
mailing list