From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Mon, 23 May 2016 14:52:58 +0200 Subject: [Cocci] Deletion of indication for "optional" syntax elements? In-Reply-To: References: <20160511031419.GY3766@xsjsorenbubuntu> <20160511055515.GA3766@xsjsorenbubuntu> <20160511060438.GB3766@xsjsorenbubuntu> <20160511184830.GG3766@xsjsorenbubuntu> <66c62c8e-43cd-dbab-7a0a-8d884362a141@users.sourceforge.net> <20160512055423.GH3766@xsjsorenbubuntu> <20160512161637.GN3766@xsjsorenbubuntu> Message-ID: <025c3336-490b-e523-e9fe-3212efc64400@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr >> Would you like to delete the specification "\opt" at a few places? >> https://github.com/coccinelle/coccinelle/blob/df648d123ac4dad16a855f0c5f3adf42ce602b29/docs/manual/cocci_syntax.tex#L1173 > At what place do you have in mind? The return type of a functin > definition really is optional. Will it be sufficient to make the function return type a mandatory property for the syntax item "funproto"? Regards, Markus