summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index d13003d..3be6632 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -112,4 +112,10 @@ PERFORMANCE OF THIS SOFTWARE.
#include "pyfpe.h"
+/* These definitions much match corresponding definitions in graminit.h.
+ There's code in compile.c that checks that they are the same. */
+#define Py_single_input 256
+#define Py_file_input 257
+#define Py_eval_input 258
+
#endif /* !Py_PYTHON_H */