Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Parse::RecDescent: how does <matchrule:> work?

by 7stud (Deacon)
on Feb 07, 2013 at 07:17 UTC ( #1017579=note: print w/ replies, xml ) Need Help??

in reply to Parse::RecDescent: how does <matchrule:> work?

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:

<matchrule: rbrace>($item[1])
Any ideas how I can accomplish what I want?

Comment on Re: Parse::RecDescent: how does <matchrule:> work?
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017579]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2015-07-29 10:14 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (263 votes), past polls