http://qs321.pair.com?node_id=542630


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 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.