This might be a stupid question, but assume you parse a C++ expression:
foo(a+3+bar.x, foo(1,1) )
Now, I parse like this:
function = somename >> '(' >> !expression >> *(',' >> expression) );
But.. what I really want is the "TYPE" of each function argument.
The parser goes through the pathes for each type of expression (int, double, string, function call...) and should already know all
this.
So, what's the best approach to get a list or argument strings with their resulting type for nested function calls?
Thank you,
-Gernot
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Spirit-general mailing list
Spirit-general@...
https://lists.sourceforge.net/lists/listinfo/spirit-general