From: Michael Wallner Date: Wed, 21 Nov 2018 14:57:06 +0000 (+0100) Subject: fix extvar dump X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=cceaed6bbd4c6f0407fe6841e0bbcbdd1edef432;p=m6w6%2Fext-psi fix extvar dump --- diff --git a/src/data.c b/src/data.c index e09c472..5d7be99 100644 --- a/src/data.c +++ b/src/data.c @@ -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"); }