comparison Python/pythonrun.c @ 46121:d00ded8b2677 legacy-trunk

Initialize PyCompilerFlags cf_flags with 0
author Christian Heimes <christian@cheimes.de>
date Wed, 26 Mar 2008 22:51:58 +0000
parents c78d3586c474
children 248676988c54
comparison
equal deleted inserted replaced
46119:daa6aceabdfc 46121:d00ded8b2677
1395 mod_ty mod; 1395 mod_ty mod;
1396 PyCompilerFlags flags; 1396 PyCompilerFlags flags;
1397 PyArena *arena = PyArena_New(); 1397 PyArena *arena = PyArena_New();
1398 if (arena == NULL) 1398 if (arena == NULL)
1399 return NULL; 1399 return NULL;
1400
1401 flags.cf_flags = 0;
1400 1402
1401 mod = PyParser_ASTFromString(str, filename, start, &flags, arena); 1403 mod = PyParser_ASTFromString(str, filename, start, &flags, arena);
1402 if (mod == NULL) { 1404 if (mod == NULL) {
1403 PyArena_Free(arena); 1405 PyArena_Free(arena);
1404 return NULL; 1406 return NULL;