summaryrefslogtreecommitdiffstats
path: root/Modules/_peg_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_peg_parser.c')
-rw-r--r--Modules/_peg_parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_peg_parser.c b/Modules/_peg_parser.c
index cb5f9aa..e1ec36e 100644
--- a/Modules/_peg_parser.c
+++ b/Modules/_peg_parser.c
@@ -28,9 +28,10 @@ _Py_parse_file(PyObject *self, PyObject *args, PyObject *kwds)
return NULL;
}
+ PyCompilerFlags flags = _PyCompilerFlags_INIT;
PyObject *result = NULL;
- mod_ty res = PyPegen_ASTFromFile(filename, mode, arena);
+ mod_ty res = PyPegen_ASTFromFile(filename, mode, &flags, arena);
if (res == NULL) {
goto error;
}