Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Parse::RecDescent eats large part of grammar, thinking it to be implicit subrule

by premchai21 (Curate)
on Jan 21, 2003 at 21:49 UTC ( [id://228857]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      # buggo, where's the case-sensitivity go, here or elsewhere?
      # the first subrule here...
    ...
    
    v_go: direction { "(go '$item[1])" }
    direction: /((?:n(?:orth)?|s(?:outh)?)?(?:e(?:ast)?|w(?:est)?)?|(?:up|
    +down))/i
    
  2. or download this
        Parse::RecDescent: Treating "# buggo, where's the case-sensitivity
    + go,
                           here or elsewhere?" as a comment
    ...
    
          ERROR (line 48): Untranslatable item encountered:
                           "?)?(?:e(?:ast)?|w(?:est)?)?|(?:up|down))/i"
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://228857]
Approved by Enlil
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-19 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found