Okay, I understand now: there is no rule named 'rbrace(2)' anywhere in my grammar. The rule name is 'rbrace'. The correct syntax is:
<matchrule: rbrace>(2)
But this doesn't work:
Any ideas how I can accomplish what I want?<matchrule: rbrace>($item[1])
In reply to Re: Parse::RecDescent: how does <matchrule:> work?
by 7stud
in thread Parse::RecDescent: how does <matchrule:> work?
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |