From 485361acb48b0408f8147fc653b41dc8cb3bb35c Mon Sep 17 00:00:00 2001 From: Sergei Marochkin Date: Wed, 7 Sep 2016 09:44:08 +0300 Subject: [PATCH] Revert and fix it (thanks to @oscar-broman) --- source/compiler/sc3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/compiler/sc3.c b/source/compiler/sc3.c index c9923a6..89d5c66 100644 --- a/source/compiler/sc3.c +++ b/source/compiler/sc3.c @@ -2074,6 +2074,8 @@ static int nesting=0; */ } else { arglist[argpos]=ARG_DONE; /* flag argument as "present" */ + if (arg[argidx].ident!=0 && arg[argidx].numtags==1) + lval.cmptag=arg[argidx].tags[0]; /* set the expected tag, if any */ lvalue=hier14(&lval); assert(sc_status==statFIRST || arg[argidx].ident== 0 || arg[argidx].tags!=NULL); switch (arg[argidx].ident) {