From ce7f767f8d080081af7593435ef93dba0987999a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 11 Feb 2021 23:16:40 +0100 Subject: [PATCH] :art: Fix san1_args, Update TUI --- plug | 2 +- src/parse/scan1.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plug b/plug index 16f233b6..c8a04ee3 160000 --- a/plug +++ b/plug @@ -1 +1 @@ -Subproject commit 16f233b6410eac72c1953e682577d2743a15f73b +Subproject commit c8a04ee37767a2f414647babd468965b9a24fa18 diff --git a/src/parse/scan1.c b/src/parse/scan1.c index 624af641..d1e5411d 100644 --- a/src/parse/scan1.c +++ b/src/parse/scan1.c @@ -355,8 +355,11 @@ ANN static m_bool scan1_args(const Env env, Arg_List list) { const Var_Decl var = list->var_decl; if(var->xid) CHECK_BB(isres(env, var->xid, var->pos)) - if(list->td) + if(list->td) { + SET_FLAG(list->td, late); CHECK_OB((list->type = void_type(env, list->td))) + SET_FLAG(list->td, late); + } var->value = arg_value(env, list); nspc_add_value(env->curr, var->xid, var->value); } while((list = list->next)); -- 2.43.0