[Python-checkins] CVS: python/dist/src/Parser node.c,2.14,2.15

Vladimir Marangozov python-dev@python.org
Sun, 3 Sep 2000 16:47:10 -0700


Update of /cvsroot/python/python/dist/src/Parser
In directory slayer.i.sourceforge.net:/tmp/cvs-serv16939/Parser

Modified Files:
	node.c 
Log Message:
Move down the INT_MAX logic, because HAVE_LIMITS_H was always undefined
and this breaks the AIX build with an INT_MAX redefinition error.
"config.h" is included in pgenheaders.h, so moving this down fixes the
problem.


Index: node.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/node.c,v
retrieving revision 2.14
retrieving revision 2.15
diff -C2 -r2.14 -r2.15
*** node.c	2000/09/01 23:29:28	2.14
--- node.c	2000/09/03 23:47:08	2.15
***************
*** 1,3 ****
--- 1,9 ----
  
+ /* Parse tree node implementation */
+ 
+ #include "pgenheaders.h"
+ #include "node.h"
+ #include "errcode.h"
+ 
  #ifdef HAVE_LIMITS_H
  #include <limits.h>
***************
*** 6,15 ****
  #define INT_MAX 2147483647
  #endif
- 
- /* Parse tree node implementation */
- 
- #include "pgenheaders.h"
- #include "node.h"
- #include "errcode.h"
  
  node *
--- 12,15 ----