On Thu, 18 Aug 2011, Ajay Panyala wrote:

> Hello,
> 
> The simple patch (below) to add a declaration for a variable of type long
> int
> gives a parse error.
> 
> @@
> @@
> 
> - int foo;
> + long int bar;
> 
> Fatal error: exception Failure("plus: parse error:
> = File "2.cocci", line 5, column 7, charpos = 25
> around = 'int', whole content = + long int bar;
> ")
> 
> Any suggestions here ?

Indeed, the SmPL parser only recognizes long, and not long int.  I will 
fix it.

julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to