27 Jan
2006
27 Jan
'06
11:52 p.m.
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