From mboxrd@z Thu Jan 1 00:00:00 1970 From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Thu, 17 Aug 2017 18:11:50 +0200 Subject: [Cocci] Improving size determinations with SmPL In-Reply-To: References: <788ea49a-14c4-7dfe-d868-c8df90dd4439@users.sourceforge.net> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr >>> ... when any should be ...> >> >> I am unsure if I interpret your suggestion correctly. > > No. Go read the original message again. It says exactly what to do and > where it should be done. Your hint might be nice. > Eg, my message has two comments, but you have made three changes, which is not correct. I have tried out to convert the SmPL ellipsis into the optional dot variant. But I wonder still about the error message ?minus: parse error:? for an adjusted SmPL script variant. @replacement@ identifier action, var, work; type T, X; @@ T work(...) { ... when any X* var; <... ... when any ...> var = action(..., sizeof( - X + *var ), ... ) <... ... when any ...> } Regards, Markus