summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-11-20 02:01:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-11-20 02:01:45 (GMT)
commit0e9e98edc7924cf41e031c0a31e93870f31e3160 (patch)
tree4a23e7999532ab66e55d95b1ce8ce0a44619901d /Python
parent5b066817e2e777c8eff7776335482b9d6efd115b (diff)
downloadcpython-0e9e98edc7924cf41e031c0a31e93870f31e3160.zip
cpython-0e9e98edc7924cf41e031c0a31e93870f31e3160.tar.gz
cpython-0e9e98edc7924cf41e031c0a31e93870f31e3160.tar.bz2
c89 declarations
Diffstat (limited to 'Python')
-rw-r--r--Python/Python-ast.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index 7f22f7f..8de5314 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -3375,8 +3375,8 @@ int
obj2ast_mod(PyObject* obj, mod_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
if (obj == Py_None) {
@@ -3524,8 +3524,8 @@ int
obj2ast_stmt(PyObject* obj, stmt_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
int lineno;
int col_offset;
@@ -4720,8 +4720,8 @@ int
obj2ast_expr(PyObject* obj, expr_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
int lineno;
int col_offset;
@@ -5836,8 +5836,8 @@ int
obj2ast_expr_context(PyObject* obj, expr_context_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
isinstance = PyObject_IsInstance(obj, (PyObject *)Load_type);
if (isinstance == -1) {
@@ -5896,8 +5896,8 @@ int
obj2ast_slice(PyObject* obj, slice_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
if (obj == Py_None) {
@@ -6019,8 +6019,8 @@ int
obj2ast_boolop(PyObject* obj, boolop_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
isinstance = PyObject_IsInstance(obj, (PyObject *)And_type);
if (isinstance == -1) {
@@ -6047,8 +6047,8 @@ int
obj2ast_operator(PyObject* obj, operator_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
isinstance = PyObject_IsInstance(obj, (PyObject *)Add_type);
if (isinstance == -1) {
@@ -6155,8 +6155,8 @@ int
obj2ast_unaryop(PyObject* obj, unaryop_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
isinstance = PyObject_IsInstance(obj, (PyObject *)Invert_type);
if (isinstance == -1) {
@@ -6199,8 +6199,8 @@ int
obj2ast_cmpop(PyObject* obj, cmpop_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
isinstance = PyObject_IsInstance(obj, (PyObject *)Eq_type);
if (isinstance == -1) {
@@ -6355,8 +6355,8 @@ int
obj2ast_excepthandler(PyObject* obj, excepthandler_ty* out, PyArena* arena)
{
PyObject* tmp = NULL;
- tmp = tmp;
int isinstance;
+ tmp = tmp;
int lineno;
int col_offset;