1 Apr 02:33
list_p and specialized actions
Bruno MartÃnez Aguerre <br1 <at> internet.com.uy>
2008-04-01 00:33:02 GMT
2008-04-01 00:33:02 GMT
Hi. I'm using spirit to parse the path elements of svg. I'm using some rules like: rule<> sequence = list_p(real_p, !comma_wsp); I would like to attach a semantic action to the real_p there, but a generic semantic action is expected, taking a pair of iterators, instead of a semantic action taking a number. I think the reason for this must be the refactorings going on, and indeed, if I use list_p.direct() the problem goes away. If I'm correct, the problem is then that p1 - p2 expects a generic semantic action. Can it be made to expect the same kind of semantic action as p1? Regards, Bruno ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
RSS Feed