Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Syntactic Confectionery Delight
 
PerlMonks  

Re: Parse::RecDescent: access "skipped" text?

by santonegro (Scribe)
on Apr 11, 2006 at 14:46 UTC ( [id://542630]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Parse::RecDescent: access "skipped" text?

It sounds like you are looking for my Parse::RecDescent::Consumer. It reveals matched not skipped text though.
  • Comment on Re: Parse::RecDescent: access "skipped" text?

Replies are listed 'Best First'.
Re^2: Parse::RecDescent: access "skipped" text?
by braden (Novice) on Apr 11, 2006 at 16:23 UTC
    That may indeed be useful to me; thanks.

    However, it still looks like I'm looking at littering my grammar with all the places comments can occur.

    It may be that I'm thinking about this wrong in trying to parse code and comments in a single pass with the same parser. The Right Thing may be to parse code in one pass and doc-comments in another.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://542630]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.