From: Jérémie Astor Date: Sun, 13 Jun 2021 17:10:51 +0000 (+0200) Subject: :art: Add some Machine functions [skip ci] X-Git-Tag: nightly~592 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=12459f1295ef4ecc65fb117af2cfa8b9ccbfbf11;p=gwion.git :art: Add some Machine functions [skip ci] --- diff --git a/plug b/plug index 941ed338..a853cfd9 160000 --- a/plug +++ b/plug @@ -1 +1 @@ -Subproject commit 941ed33855c0f1d116a957eb35f94d9c8bdb1165 +Subproject commit a853cfd9bbaf47604202dda4ecd168a62091b13e diff --git a/src/import/cleaner.c b/src/import/cleaner.c index 7d6b65de..7e5ba6f3 100644 --- a/src/import/cleaner.c +++ b/src/import/cleaner.c @@ -35,7 +35,7 @@ ANN void ck_end(const Gwi gwi) { } typedef void (*cleaner)(MemPool, ImportCK *); -static cleaner cleaners[] = {ck_clean_edef, ck_clean_udef, ck_clean_tdef, +static cleaner cleaners[] = {NULL, ck_clean_udef, ck_clean_tdef, NULL, // ck_clean_oper, ck_clean_item, ck_clean_fdef}; diff --git a/src/import/import_enum.c b/src/import/import_enum.c index df1d549e..02f8f79b 100644 --- a/src/import/import_enum.c +++ b/src/import/import_enum.c @@ -93,15 +93,3 @@ ANN Type gwi_enum_end(const Gwi gwi) { ck_end(gwi); return t; } - -ANN void ck_clean_edef(MemPool mp, ImportCK *ck) { - /* - if(ck->tmpl) - free_id_list(mp, ck->tmpl); - if(ck->v.ptr) { - for(m_uint i = 0; i < vector_size(&ck->v); ++i) - mp_free2(mp, SZ_INT, (m_uint*)vector_at(&ck->v, i)); - vector_release(&ck->v); - } - */ -}