[GCC-XML] c++ parsing

Roberto Gori r.gori at cineca.it
Wed Aug 2 04:45:14 EDT 2006


Dear gccxml team,

i need to parse a generic c++ function arguments list like this:

int a, char b,  void (*f)(int), double g[], float c=5

and i would like to write a function to obtain the names of the identifiers (a, b, f, g, c) and eventually  the corresponding types also.

i've puzzled for long time with this problem without finding a good solution.

Could you give me some advice, please?

Regards.

    Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20060802/9bb009d7/attachment-0001.html>


More information about the gccxml mailing list