Fixed incorrect output of indicator structs using the name of the data struct.
authorMichael Meskes
Mon, 23 Feb 2004 18:14:18 +0000 (18:14 +0000)
committerMichael Meskes
Mon, 23 Feb 2004 18:14:18 +0000 (18:14 +0000)
src/interfaces/ecpg/preproc/type.c

index cb0eb2756673ebd1cf5ee57e0219c53b8dcc2bf7..e7682298b8973559f889cd60b7b5be99118bd0df 100644 (file)
@@ -263,7 +263,7 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type,
                        else
                        {
                            ECPGdump_a_simple(o, ind_name, ind_type->u.element->type,
-                                             ind_type->u.element->size, ind_type->size, NULL, prefix);
+                                             ind_type->u.element->size, ind_type->size, NULL, ind_prefix);
                        }
                    }
            }