]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-110805: Fix test_peg_generator after the change in the parser for REPL tracebacks...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Fri, 13 Oct 2023 11:04:23 +0000 (13:04 +0200)
committerGitHub <noreply@github.com>
Fri, 13 Oct 2023 11:04:23 +0000 (13:04 +0200)
Fix test_peg_generator after the change in the parser for REPL tracebacks

Tools/peg_generator/peg_extension/peg_extension.c

index 7df134b5ade8bbeb62927fca0d6a3126caa3ef23..b081240ffff017a422f5e5a17cdb2a72e671d010 100644 (file)
@@ -52,7 +52,7 @@ parse_file(PyObject *self, PyObject *args, PyObject *kwds)
     PyCompilerFlags flags = _PyCompilerFlags_INIT;
     mod_ty res = _PyPegen_run_parser_from_file_pointer(
                         fp, Py_file_input, filename_ob,
-                        NULL, NULL, NULL, &flags, NULL, arena);
+                        NULL, NULL, NULL, &flags, NULL, NULL, arena);
     fclose(fp);
     if (res == NULL) {
         goto error;