> With your help I did some more adjustments and my semantic patch replaces
> all the typedefed structs correctly, with a single exception. The sources
> contain one line like this:
> static const foo_t const foo_arry[] = {
Could you check if things work when the [] is not empty?
julia
> ...
> };
> Similar as before, foo_t should be replaced with 'struct foo_t',
> but it's not.
>
> Again, some complex const usage, though this time I'm almost certain that
> the second const is meaningless. gcc consumes it, though, so does
> 'spatch --parse-c'.
>
> Soren
>
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci