X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fdata.c;h=5d7be991a1a8ebde885f99277f2374cb3602e05c;hb=12964ebafbb9090db90faa09fba4140bdffff0eb;hp=9bcd493d711b9eca7a2449cfcbac380a5f117b9f;hpb=2d34b0c215608bc3eae007ce5f4e80eae3c1e147;p=m6w6%2Fext-psi diff --git a/src/data.c b/src/data.c index 9bcd493..5d7be99 100644 --- a/src/data.c +++ b/src/data.c @@ -229,7 +229,7 @@ void psi_data_dump(struct psi_dump *dump, struct psi_data *D) struct psi_decl_enum *enm; while (psi_plist_get(D->enums, i++, &enm)) { - if (!psi_decl_type_is_anon(enm->name, "enum")) { + if (true || !psi_decl_type_is_anon(enm->name, "enum")) { psi_decl_enum_dump(dump, enm, 0); PSI_DUMP(dump, "\n"); } @@ -252,13 +252,13 @@ void psi_data_dump(struct psi_dump *dump, struct psi_data *D) while (psi_plist_get(D->decls, i++, &decl)) { if (decl->extvar) { - PSI_DUMP(dump, "/* extvar accessor\n"); + PSI_DUMP(dump, "/* extvar accessor \n"); } psi_decl_dump(dump, decl); - PSI_DUMP(dump, "\n"); if (decl->extvar) { - PSI_DUMP(dump, " extvar accessor */\n"); + PSI_DUMP(dump, " */"); } + PSI_DUMP(dump, "\n"); } PSI_DUMP(dump, "\n"); }