OK, thanks for the report. I will try to fix it soon.
julia
On Mon, 11 Jul 2011, Michael Stefaniuc wrote:
> Hello,
>
> this SmPL code:
> @@
> typedef LPINT;
> @@
> - LPINT
> + int *
>
> applied to:
> typedef int *LPINT;
>
> int foo(LPINT x, LPINT *y)
> {
> return *x == **y;
> }
>
> Will produce following output:
> --- type.c 2011-07-11 18:22:20.828966367 +0200
> +++ /tmp/cocci-output-15967-fb2010-type.c 2011-07-11
> 18:25:47.923507090 +0200
> @@ -1,6 +1,6 @@
> typedef int *LPINT;
>
> -int foo(LPINT x, LPINT *y)
> +int foo(int * x, int * *y)
> {
> return *x == **y;
> }
>
> There is an extra space after the "*". I get the same output with or
> without -smpl_spacing.
>
> thanks
> bye
> michael
> _______________________________________________
> Cocci mailing list
> [email protected]
> http://lists.diku.dk/mailman/listinfo/cocci
> (Web access from inside DIKUs LAN only)
>
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)