in reply to Re^2: Extending a Parse::RecDescent grammar for inline comments
in thread Extending a Parse::RecDescent grammar for inline comments

Then it's not a comment at all (i.e. it's meaningful), and you'd match it like anything else (i.e. not use <skip>).

Replies are listed 'Best First'.
Re^4: Extending a Parse::RecDescent grammar for inline comments
by bronto (Priest) on Aug 23, 2010 at 10:53 UTC

    That's what I tried to do, actually, e.g. adding an InlineComment rule, but I failed. Do you know the correct way to do this?

    Thanks!

    Ciao!
    --bronto


    In theory, there is no difference between theory and practice. In practice, there is.
      You didn't post that code, so I can't help you find what's wrong with it.