mirror of https://github.com/python/cpython
Put declarations before code.
This commit is contained in:
parent
c5ceb251b3
commit
714b112ae5
|
@ -4202,9 +4202,9 @@ exec_statement(PyFrameObject *f, PyObject *prog, PyObject *globals,
|
|||
else if (PyFile_Check(prog)) {
|
||||
FILE *fp = PyFile_AsFile(prog);
|
||||
char *name = PyString_AsString(PyFile_Name(prog));
|
||||
PyCompilerFlags cf;
|
||||
if (name == NULL)
|
||||
return -1;
|
||||
PyCompilerFlags cf;
|
||||
cf.cf_flags = 0;
|
||||
if (PyEval_MergeCompilerFlags(&cf))
|
||||
v = PyRun_FileFlags(fp, name, Py_file_input, globals,
|
||||
|
|
Loading…
Reference in New Issue