Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 avoiding work at the Monastery: (9)
As of 2016-02-08 20:11 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (283 votes), past polls