comparison Python/Python-ast.c @ 37597:2b2e9c388fbb legacy-trunk

low-hanging fruit in Python/ - g++ still hates all the enum_kind declarations in Python/Python-ast.c. Not sure what to do about those.
author Anthony Baxter <anthonybaxter@gmail.com>
date Tue, 11 Apr 2006 07:43:46 +0000
parents a9470eb637f1
children 44fb03a6a524
comparison
equal deleted inserted replaced
37596:1b078493d538 37597:2b2e9c388fbb
2326 break; 2326 break;
2327 case Continue_kind: 2327 case Continue_kind:
2328 result = PyType_GenericNew(Continue_type, NULL, NULL); 2328 result = PyType_GenericNew(Continue_type, NULL, NULL);
2329 if (!result) goto failed; 2329 if (!result) goto failed;
2330 break; 2330 break;
2331 default:
2332 ;
2331 } 2333 }
2332 value = ast2obj_int(o->lineno); 2334 value = ast2obj_int(o->lineno);
2333 if (!value) goto failed; 2335 if (!value) goto failed;
2334 if (PyObject_SetAttrString(result, "lineno", value) < 0) 2336 if (PyObject_SetAttrString(result, "lineno", value) < 0)
2335 goto failed; 2337 goto failed;