function - Cscope output all parameters -
there limitation of 1 line per cscope entry, e.g.
type func(type param1, type param2, type param3, type param4)
will give
type func(type param1, type param2,
cscope entry.
i need cscope output parameters in function definitions , calls.
i not sure achievable.
however, workaround use grep
, more "flexible" , parse output of:
grep -ri -a 2 "type func" .
this print lines contains "type func"
, -a 2
2 following lines.
can use regex output until closing )
of function declaration.
Comments
Post a Comment