Hi Eliseo,

> Working patch attached.

thanks!

> Real problem was repetition symbol ‘+’. For BRE’s on OSX, you need
> ‘\{1,\}’ instead (weird, I know ;-)

Indeed, but very well spotted, thanks.

> Apart from that, I improved in a couple of ways:
> - Use single quotes instead of double quotes, to avoid shell
> - interpolation interference.

Good idea, thanks.

> - Add ‘_’ to accepted character class.

I didn't take that bit because it seems unlikely to me that one will want
to use _ at such a place.

Also, Coccinelle's build system may change a bit during this year so
hopefully this piece o coe will vanish completely.

Many thanks for your patience, reactivity and support in all this.

Did we reach a state where your coccinelle works as expected under OS X?

Cheers,
Sébastien.
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to