Re: Declaration, Definition & Reference listers for C



John Carter wrote:
[...]
> So to experiment with this I need to extract every {typedef, struct,
> union, enum, macro, variable and function} {declaration, definition and
> reference} from 1000's of C files.
>
> Anybody know of a tool to parse standard C and spit out this information?

Maybe RedHat's Source Navigator, http://sourcenav.sourceforge.net/, may
be of help.

Also DoxyGen may be of use: http://www.stack.nl/~dimitri/doxygen/

Cheers,
Nicola Musatti

.



Relevant Pages

  • Re: Declaration, Definition & Reference listers for C
    ... > union, enum, macro, variable and function} {declaration, definition and ...
    (comp.compilers)
  • Re: Declaration, Definition & Reference listers for C
    ... > union, enum, macro, variable and function} {declaration, definition and ... > Anybody know of a tool to parse standard C and spit out this information? ...
    (comp.compilers)
  • Sagem Fast 800 Again!
    ... no semicolon at end of struct or union ... warning: type defaults to `int' in declaration of `QUEUED_URB_BUFFER' ... syntax error before '}' token ...
    (Fedora)
  • Re: Making Definitions
    ... how I use the declaration in other assemblies then. ... public enum ImageDisplaySize ... There is a called FormViewMode. ... Only if you make it a nested type. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Iterating through an enum???
    ... A specialized iterator onto an underlying vector would ... I stand that "enum" stands for "enumeration", ... I don't know if such use of a and e is allowd in enum declaration... ...
    (microsoft.public.vc.language)