Header file parser?

L

Laurens

Hi,

I need a header file parser that extracts function and type names and dumps
them to text file. (These names will in turn be added as keywords to my
editor so that I get syntax highlighting.)

Is there such a utility available?


Thanks
-Laurens
 
T

Tristan Miller

Greetings.

I need a header file parser that extracts function and type names and
dumps them to text file. (These names will in turn be added as keywords to
my editor so that I get syntax highlighting.)

Is there such a utility available?

ctags, perhaps? If your editor doesn't already do C syntax highlighting,
you may want to consider switching to one that does. It's a very common
feature nowadays.
 
L

Laurens

Tristan Miller said:
ctags, perhaps? If your editor doesn't already do C syntax highlighting,
you may want to consider switching to one that does. It's a very common
feature nowadays.

Thanks! I tried Exuberant Ctags and it seems to do what I want. I'm using
JEdit, which does have a C/C++ editing mode(w/ syntax highlighting).
Additionally, I want the functions and types of the Palm OS API to be
highlighted to help detect typos.


Regards
-Laurens
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top