[Python-checkins] python/dist/src/Python compile.txt,1.1.2.5,1.1.2.6
bcannon@users.sourceforge.net
bcannon@users.sourceforge.net
Fri, 25 Jul 2003 16:42:11 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv10318/Python
Modified Files:
Tag: ast-branch
compile.txt
Log Message:
Grammatical change and note on needing to doc asdl_seq_* functions.
Index: compile.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/compile.txt,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -C2 -d -r1.1.2.5 -r1.1.2.6
*** compile.txt 9 Jul 2003 04:18:02 -0000 1.1.2.5
--- compile.txt 25 Jul 2003 23:42:09 -0000 1.1.2.6
***************
*** 97,101 ****
as defined by the ASDL grammar to create the nodes of the AST.
! Common macros used as defined in ``Include/node.h``:
- CHILD(node, n) -- Returns the nth child of node using zero-offset
indexing
--- 97,102 ----
as defined by the ASDL grammar to create the nodes of the AST.
! Common macros used to manipulate ``node *`` structs as defined in
! ``Include/node.h``:
- CHILD(node, n) -- Returns the nth child of node using zero-offset
indexing
***************
*** 104,107 ****
--- 105,118 ----
- TYPE(node) -- The type of node as listed in ``Include/graminit.h``
- REQ(node, type) -- Assert that the node is the type that is expected
+
+ XXX Function and macros for creating and using ``asdl_seq *`` types
+ (found in Python/asdl.c and Include/asdl.h):
+ + asdl_seq_new
+ * when to use?
+ * when to call asdl_seq_free?
+ + asdl_seq_APPEND
+ + asdl_seq_SET
+ + asdl_seq_GET
+ + asdl_seq_LEN