sed? Do you mean to first process the source with sed, and then make ctags build the tags from processed source? If that's the case, I think, cpp would be more reliable, isn't it?

Anyway, there's no tag generation utility that I know of which does this. I'm not aware of cscope. Any idea on that?

On Sun, Aug 3, 2008 at 10:26 PM, Elliott Hughes <enh@jessies.org> wrote:
i don't believe so. i think sed(1) is probably your best bet. that, or
writing a patch to fix bug 1936207.

 --elliott

On Sun, August 3, 2008 09:45, Jeenu V wrote:
> So, does this mean that GNU etags can do it? If that's the case, can you
> tell me the GNU etags package for Ubuntu? To me both ctags and etags point
>  to the same executable. I'm wondering whether there's a separate package
> for etags.
>
> Thanks
> Jeenu
>
>
> On Sun, Aug 3, 2008 at 9:57 PM, Elliott Hughes <enh@jessies.org> wrote:
>
>
>> i don't think ctags can handle this kind of thing with -I. see bug
>> 1936207
>> "More features for -I":
>>
>>
>>
>> http://sourceforge.net/tracker/index.php?func=detail&aid=1936207&group_
>> id=6556&atid=356556
>>
>> --elliott
>>
>>
>> On Sun, August 3, 2008 07:01, Jeenu V wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> In MINIX source code, C function prototypes, say for malloc, are
>>> declared in this manner:
>>>
>>> _PROTOTYPE( void *malloc, (size_t _size) );
>>>
>>>
>>>
>>> where _PROTOTYPE is defined as:
>>>
>>> #define _PROTOTYPE(function, params) function params
>>>
>>>
>>>
>>> But after I built tags for the source, there are no tags generated
>>> for the identifier malloc (I'm using VIM with ctags). Could some one
>>> please tell me how can I use the -I switch so that ctags could locate
>>> function declaration like these? Or is there any other way to work
>>> this around?
>>>
>>> --
>>> Thanks
>>> Jeenu
>>>
>>
>> --
>> Elliott Hughes,
>> http://www.jessies.org/~enh/<http://www.jessies.org/%7Eenh/>
>>
>>
>>
>>
>
>
> --
> Thanks
> Jeenu
>
>


--
Elliott Hughes, http://www.jessies.org/~enh/





--
Thanks
Jeenu