[Python-checkins] python/dist/src/Include pythonrun.h, 2.49.2.7, 2.49.2.8

jhylton@users.sourceforge.net jhylton at users.sourceforge.net
Wed Oct 12 00:03:16 CEST 2005


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29290/Include

Modified Files:
      Tag: ast-branch
	pythonrun.h 
Log Message:
Fixer typos in PyParser_SimpleParseString and File.

The #defines were wrong.  Fixing them required twiddling the actual
definitions, too.



Index: pythonrun.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythonrun.h,v
retrieving revision 2.49.2.7
retrieving revision 2.49.2.8
diff -u -d -r2.49.2.7 -r2.49.2.8
--- pythonrun.h	7 Jan 2005 06:57:42 -0000	2.49.2.7
+++ pythonrun.h	11 Oct 2005 22:03:13 -0000	2.49.2.8
@@ -41,10 +41,10 @@
 PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *, int, 
 					       char *, char *,
                                                PyCompilerFlags *, int *);
-#define PyParser_SimpleParserString(S, B) \
-        PyParser_SimplerParserStringFlags(S, B, 0)
-#define PyParser_SimpleParserFile(FP, S, B) \
-        PyParser_SimplerParserFileFlags(FP, S, B, 0)
+#define PyParser_SimpleParseString(S, B) \
+        PyParser_SimpleParseStringFlags(S, B, 0)
+#define PyParser_SimpleParseFile(FP, S, B) \
+        PyParser_SimpleParseFileFlags(FP, S, B, 0)
 PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int, 
 							  int);
 PyAPI_FUNC(struct _node *) PyParser_SimpleParseFileFlags(FILE *, const char *,



More information about the Python-checkins mailing list