Sorry.  name is a reserved word.  Change the two occurrences eg to nm.

julia


On Thu, 19 May 2011, Francis Galiegue wrote:

> On Thu, May 19, 2011 at 14:59, Julia Lawall <[email protected]> wrote:
> [...]
> >> >
> >> > coccinelle.newc = "\"%s%%s\"" " c
> >
> > Typo!                             %
> >
> > That is, a % should appear between the string and the argument.
> >
> 
> Well, the error message _has_ changed :p
> 
> Fatal error: exception Failure("meta: parse error:
>  = File "stralloc2-other.cocci", line 18, column 15,  charpos = 192
>     around = '.', whole content = identifier name.newc;
> ")
> 
> It doesn't seem to find "name", it seems...
> 
> 
> -- 
> Francis Galiegue, [email protected]
> "It seems obvious [...] that at least some 'business intelligence'
> tools invest so much intelligence on the business side that they have
> nothing left for generating SQL queries" (Stéphane Faroult, in "The
> Art of SQL", ISBN 0-596-00894-5)
> 
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to