in reply to Re: Is the skip: directive broken in Parse::RecDescent ?
in thread Is the skip: directive broken in Parse::RecDescent ? [Solved - PEBKAC]

Thanks again, ikegami. You've given me another avenue to search for my solution. I'm curious though - the trace shows that the skip block is being treated like a production... and it's returning a value! [\s*]

Do all modified prefix matches return this, or just skip directives?

Replies are listed 'Best First'.
Re^3: Is the skip: directive broken in Parse::RecDescent ?
by ikegami (Patriarch) on Aug 11, 2008 at 22:22 UTC
    Quote the docs,

    The <skip> directive evaluates to the previous terminal prefix, so it's easy to reinstate a prefix later in a production

    (Followed by an example)

      Silly me... I think by then my brain was too frazzled to understand the docs! Thanks!