Do you require a full C parser to extract this stuff? sometimes such extraction might be possible only using a lexer (I don't know how Xmotif code looks like but I am guessing it's only C functions and data types). You could use something like CIL (http://manju.cs.berkeley.edu/cil/) to give you a parsed syntax tree on which you can operate. You can try posting your problem on comp.compilers.
/satya On Wed, Jun 25, 2008 at 12:56 AM, Mukesh Kaushal <[EMAIL PROTECTED]> wrote: > Hi all > > I am using an Xmotif application. Code is written in C. Now I want to parse > my C code so that I can extract all the xmotif related info from the code. > So kindly suggest me how to parse my C source code for this. > > -- > > --- > Regards > Mukesh Kaushal > _______________________________________________ > help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison > _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison