in reply to Extending a Parse::RecDescent grammar for inline comments
I would use the SKIP directive - the pattern used to skip text between tokens (whitespace by default). I don't remember the syntax for setting the directive, but setting it to
should go a long way./\s*(?:;[^\n]*\n)?/
In Section
Seekers of Perl Wisdom