[Python-checkins] python/dist/src/Python compile.txt, 1.1.2.7, 1.1.2.8

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Wed Oct 15 02:26:15 EDT 2003


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv25167/Python

Modified Files:
      Tag: ast-branch
	compile.txt 
Log Message:
Add some comments about node * items.

Index: compile.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/compile.txt,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -C2 -d -r1.1.2.7 -r1.1.2.8
*** compile.txt	15 Sep 2003 00:25:48 -0000	1.1.2.7
--- compile.txt	15 Oct 2003 06:26:13 -0000	1.1.2.8
***************
*** 86,90 ****
  
  The parser generates a concrete syntax tree represented by a ``node
! *`` defined in ``Include/node.h``.  The abstract syntax is generated
  from the concrete syntax in ``Python/ast.c`` using the function::
  
--- 86,95 ----
  
  The parser generates a concrete syntax tree represented by a ``node
! *`` defined in ``Include/node.h``.  Node indexing starts at 0.  Every
! token that can have whitespace surrounding it is its own token.  This
! means that something like "else:" is actually two tokens: 'else' and
! ':'.
! 
! The abstract syntax is generated
  from the concrete syntax in ``Python/ast.c`` using the function::
  





More information about the Python-checkins mailing list