[Python-checkins] python/dist/src/Python ast.c,1.1.2.27,1.1.2.28

bcannon@users.sourceforge.net bcannon@users.sourceforge.net
Mon, 30 Jun 2003 22:25:00 -0700


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

Modified Files:
      Tag: ast-branch
	ast.c 
Log Message:
Very minor doc and syntax changes.

Index: ast.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/ast.c,v
retrieving revision 1.1.2.27
retrieving revision 1.1.2.28
diff -C2 -d -r1.1.2.27 -r1.1.2.28
*** ast.c	28 Apr 2003 12:11:22 -0000	1.1.2.27
--- ast.c	1 Jul 2003 05:24:58 -0000	1.1.2.28
***************
*** 12,16 ****
  /* XXX TO DO
     re-indent this file
!    internal error checking
     syntax errors
  */
--- 12,16 ----
  /* XXX TO DO
     re-indent this file
!    internal error checking (such as function return values, etc.)
     syntax errors
  */
***************
*** 23,27 ****
  static expr_ty ast_for_testlist(const node *);
  
! /* Note different signature for call */
  static expr_ty ast_for_call(const node *, expr_ty);
  
--- 23,27 ----
  static expr_ty ast_for_testlist(const node *);
  
! /* Note different signature for ast_for_call */
  static expr_ty ast_for_call(const node *, expr_ty);
  
***************
*** 379,386 ****
  	    n_defaults++;
      }
!     args = n_args ? asdl_seq_new(n_args) : NULL;
      if (!args && n_args)
      	return NULL;
!     defaults = n_defaults? asdl_seq_new(n_defaults) : NULL;
      if (!defaults && n_defaults) {
  	if (args) asdl_seq_free(args);
--- 379,386 ----
  	    n_defaults++;
      }
!     args = (n_args ? asdl_seq_new(n_args) : NULL);
      if (!args && n_args)
      	return NULL;
!     defaults = (n_defaults ? asdl_seq_new(n_defaults) : NULL);
      if (!defaults && n_defaults) {
  	if (args) asdl_seq_free(args);