[Python-checkins] python/dist/src/Include parsetok.h,2.17,2.18 pythonrun.h,2.49,2.50

theller@users.sourceforge.net theller@users.sourceforge.net
Tue, 09 Jul 2002 02:23:29 -0700


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

Modified Files:
	parsetok.h pythonrun.h 
Log Message:
Fix SF Bug 564931: compile() traceback must include filename.


Index: parsetok.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/parsetok.h,v
retrieving revision 2.17
retrieving revision 2.18
diff -C2 -d -r2.17 -r2.18
*** parsetok.h	22 Mar 2002 23:52:35 -0000	2.17
--- parsetok.h	9 Jul 2002 09:23:26 -0000	2.18
***************
*** 33,36 ****
--- 33,40 ----
  						 perrdetail *, int);
  
+ extern DL_IMPORT(node *) PyParser_ParseStringFlagsFilename(char *,
+ 					      char *,
+ 					      grammar *, int,
+                                               perrdetail *, int);
  #ifdef __cplusplus
  }

Index: pythonrun.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythonrun.h,v
retrieving revision 2.49
retrieving revision 2.50
diff -C2 -d -r2.49 -r2.50
*** pythonrun.h	12 Apr 2002 01:20:10 -0000	2.49
--- pythonrun.h	9 Jul 2002 09:23:26 -0000	2.50
***************
*** 46,49 ****
--- 46,53 ----
  DL_IMPORT(struct _node *) PyParser_SimpleParseFile(FILE *, char *, int);
  DL_IMPORT(struct _node *) PyParser_SimpleParseStringFlags(char *, int, int);
+ DL_IMPORT(struct _node *) PyParser_SimpleParseStringFlagsFilename(char *,
+ 								  char *,
+ 								  int,
+ 								  int);
  DL_IMPORT(struct _node *) PyParser_SimpleParseFileFlags(FILE *, char *,
  							int, int);