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

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

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


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.

Replies are listed 'Best First'.
Re^2: Parse::RecDescent: access "skipped" text?
by braden (Novice) on Apr 11, 2006 at 20: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
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found