[Python-checkins] python/dist/src/Python ast.c,1.1.2.11,1.1.2.12

jhylton@users.sourceforge.net jhylton@users.sourceforge.net
Mon, 21 Oct 2002 14:45:47 -0700


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

Modified Files:
      Tag: ast-branch
	ast.c 
Log Message:
Comment out a bunch of debugging prints.


Index: ast.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/ast.c,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -C2 -d -r1.1.2.11 -r1.1.2.12
*** ast.c	2 Oct 2002 11:49:15 -0000	1.1.2.11
--- ast.c	21 Oct 2002 21:45:45 -0000	1.1.2.12
***************
*** 549,553 ****
      */
      node *ch = CHILD(n, 0);
!     fprintf(stderr, "ast_for_atom((%d, %d))\n", TYPE(ch), NCH(ch));
      switch (TYPE(ch)) {
      case NAME:
--- 549,553 ----
      */
      node *ch = CHILD(n, 0);
!     /* fprintf(stderr, "ast_for_atom((%d, %d))\n", TYPE(ch), NCH(ch)); */
      switch (TYPE(ch)) {
      case NAME:
***************
*** 668,672 ****
      int i;
  
!     fprintf(stderr, "ast_for_expr(%d, %d)\n", TYPE(n), NCH(n));
   loop:
      switch (TYPE(n)) {
--- 668,672 ----
      int i;
  
!     /* fprintf(stderr, "ast_for_expr(%d, %d)\n", TYPE(n), NCH(n)); */
   loop:
      switch (TYPE(n)) {
***************
*** 859,863 ****
       */
  
!     fprintf(stderr, "ast_for_expr_stmt(%d, %d)\n", TYPE(n), NCH(n));
      if (NCH(n) == 1) {
  	expr_ty e = ast_for_testlist(CHILD(n, 0));
--- 859,863 ----
       */
  
!     /* fprintf(stderr, "ast_for_expr_stmt(%d, %d)\n", TYPE(n), NCH(n)); */
      if (NCH(n) == 1) {
  	expr_ty e = ast_for_testlist(CHILD(n, 0));
***************
*** 921,925 ****
      expr_ty e;
  
!     fprintf(stderr, "ast_for_exprlist(%d, %d)\n", TYPE(n), context);
      REQ(n, exprlist);
  
--- 921,925 ----
      expr_ty e;
  
!     /* fprintf(stderr, "ast_for_exprlist(%d, %d)\n", TYPE(n), context); */
      REQ(n, exprlist);
  
***************
*** 1141,1145 ****
      node *ch;
  
!     fprintf(stderr, "ast_for_suite(%d) lineno=%d\n", TYPE(n), n->n_lineno);
      REQ(n, suite);
  
--- 1141,1145 ----
      node *ch;
  
!     /* fprintf(stderr, "ast_for_suite(%d) lineno=%d\n", TYPE(n), n->n_lineno); */
      REQ(n, suite);
  
***************
*** 1373,1379 ****
  ast_for_stmt(const node *n)
  {
! /*    _PyObject_DebugMallocStats(); */
!     fprintf(stderr, "ast_for_stmt(%d) lineno=%d\n",
! 	    TYPE(n), n->n_lineno);
      if (TYPE(n) == stmt) {
  	assert(NCH(n) == 1);
--- 1373,1378 ----
  ast_for_stmt(const node *n)
  {
!     /* fprintf(stderr, "ast_for_stmt(%d) lineno=%d\n",
!        TYPE(n), n->n_lineno); */
      if (TYPE(n) == stmt) {
  	assert(NCH(n) == 1);