From c2fc1f9c2ecba4e64e3f4c4feb790ad5b428d916 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 20 Jun 2019 17:34:23 +0200 Subject: [PATCH] :art: Fix message --- src/lib/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.43.0