Hi Boyan,
On 25 November 2015 at 05:27, Boyan Ding wrote:
> This series is a follow-up of Brian's patch ([1], commit 47fae842). It
> converts nearly all of the function-pointer-in-a-struct calls from
> (*foo->bar)(...) or (foo->bar)(...)
> to
> foo->bar(...)
>
> The sed regex to do the conver
This series is a follow-up of Brian's patch ([1], commit 47fae842). It
converts nearly all of the function-pointer-in-a-struct calls from
(*foo->bar)(...) or (foo->bar)(...)
to
foo->bar(...)
The sed regex to do the conversion looks like this (really ugly):
s/(\*\?\([^*(), \]]*->[^*), \]]*\))