[Python-checkins] python/dist/src/Include Python-ast.h, 1.1.2.10,
1.1.2.11
nascheme at users.sourceforge.net
nascheme at users.sourceforge.net
Sat Apr 2 20:50:39 CEST 2005
- Previous message: [Python-checkins] python/dist/src/Python Python-ast.c, 1.1.2.10,
1.1.2.11 ast.c, 1.1.2.56, 1.1.2.57 newcompile.c, 1.1.2.104,
1.1.2.105 symtable.c, 2.10.8.30, 2.10.8.31
- Next message: [Python-checkins] python/dist/src/Parser Python.asdl, 1.1.2.8,
1.1.2.9 asdl_c.py, 1.1.2.5, 1.1.2.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1290/Include
Modified Files:
Tag: ast-branch
Python-ast.h
Log Message:
Add support to the AST compiler for decorators (SF patch #1167709).
Index: Python-ast.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Attic/Python-ast.h,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -u -d -r1.1.2.10 -r1.1.2.11
--- Python-ast.h 20 Mar 2005 23:40:58 -0000 1.1.2.10
+++ Python-ast.h 2 Apr 2005 18:50:05 -0000 1.1.2.11
@@ -1,4 +1,4 @@
-/* File automatically generated by ./Parser/asdl_c.py */
+/* File automatically generated by ../Parser/asdl_c.py */
#include "asdl.h"
@@ -70,6 +70,7 @@
identifier name;
arguments_ty args;
asdl_seq *body;
+ asdl_seq *decorators;
} FunctionDef;
struct {
@@ -328,8 +329,8 @@
mod_ty Interactive(asdl_seq * body);
mod_ty Expression(expr_ty body);
mod_ty Suite(asdl_seq * body);
-stmt_ty FunctionDef(identifier name, arguments_ty args, asdl_seq * body, int
- lineno);
+stmt_ty FunctionDef(identifier name, arguments_ty args, asdl_seq * body,
+ asdl_seq * decorators, int lineno);
stmt_ty ClassDef(identifier name, asdl_seq * bases, asdl_seq * body, int
lineno);
stmt_ty Return(expr_ty value, int lineno);
- Previous message: [Python-checkins] python/dist/src/Python Python-ast.c, 1.1.2.10,
1.1.2.11 ast.c, 1.1.2.56, 1.1.2.57 newcompile.c, 1.1.2.104,
1.1.2.105 symtable.c, 2.10.8.30, 2.10.8.31
- Next message: [Python-checkins] python/dist/src/Parser Python.asdl, 1.1.2.8,
1.1.2.9 asdl_c.py, 1.1.2.5, 1.1.2.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list