[Anjuta-list] Re: [Ctags] [PATCH] Read code from standard input



Biswapesh Chattopadhyay wrote:

> I want to make CTAGS read the code from standard input (instead of file
> names) - here is a patch (diff -r -u) against 5.0.1 which adds an option '--'
> to make ctags read the code from standard input instead of a specified file.
> I will be grateful if this feature is added to a future release since I want
> to use this to generate tags from the output of gcc -E (pre-processed file).
>
> I did not find any way to do it using the existing code but if I have missed
> something, please point me to it.

The --filter and --filter-terminator options were added for this
purpose. Please read the documentation on those options and let me
know if they are not adequate for you purposes.

-- 
Darren Hiebert <darren hiebert com>
http://darren.hiebert.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]