"[...]subnodes containing primitive parser matches[...]" That's what I
wanted to know.
Thank you, Harmut, for your reply.
On 28/01/06, Hartmut Kaiser
Elviin wrote:
Before I'll investigate more I'd like to know if anybody knows why it is not allowed a rule object inside this directive: token_node_d.
The purpose of the token_node_id[] directive is to keep together in a node all of the subnodes containing primitive parser matches (such as single characters, strings or integers) and to create a single node containing the full matched character sequence as a single string. The token_node_id[] directive does not work recursive but works only for a flat subnode structure not containing sub-subnodes.
Rules OTOH (may) produce arbitrary deep hierarchical subnode structures.
Regards Hartmut
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users