From: fennecdjay Date: Thu, 20 Jun 2019 15:34:23 +0000 (+0200) Subject: :art: Fix message X-Git-Tag: nightly~2417 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c2fc1f9c2ecba4e64e3f4c4feb790ad5b428d916;p=gwion.git :art: Fix message --- diff --git a/src/lib/import.c b/src/lib/import.c index 64999711..acbc8f2a 100644 --- a/src/lib/import.c +++ b/src/lib/import.c @@ -557,7 +557,7 @@ ANN m_int gwi_typedef_ini(const Gwi gwi, const restrict m_str type, const restri ANN Type gwi_typedef_end(const Gwi gwi, const ae_flag flag) { Type_Decl* td = import_td(gwi, gwi->val.type); if(!td) - GWI_ERR_O(_("'%s' : invalid type")); + GWI_ERR_O(_("'%s' : invalid type"), gwi->val.type); td->flag |= flag; const Symbol sym = insert_symbol(gwi->gwion->st, gwi->val.name); const Stmt stmt = new_stmt_type(gwi->gwion->mp, td, sym);