public inbox for cocci@systeme.lip6.fr
 help / color / mirror / Atom feed
* [Cocci] Removing pointer declaration
@ 2013-06-08 17:28 Wolfram Sang
  2013-06-08 18:53 ` Julia Lawall
  2013-06-10  7:34 ` Michael Stefaniuc
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfram Sang @ 2013-06-08 17:28 UTC (permalink / raw)
  To: cocci

Hi,

This spatch:

@@
int *p;
@@

-	int *p;

with this code:


int main()
{
	int *a;

	return 0;
}

results in:

Fatal error: exception Failure("minus: parse error: 
 = File "test.cocci", line 5, column 7,  charpos = 22
    around = 'p', whole content = -	int *p;
")

using:

spatch version 1.0.0-rc15 with Python support and with PCRE support
(although dpkg says it is rc16)

Am I doing something wrong?

Thanks,

   Wolfram
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20130608/353b5d59/attachment.asc>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-10  7:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-08 17:28 [Cocci] Removing pointer declaration Wolfram Sang
2013-06-08 18:53 ` Julia Lawall
2013-06-08 19:02   ` Wolfram Sang
2013-06-08 19:06     ` Julia Lawall
2013-06-10  7:34 ` Michael Stefaniuc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox