NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Where is 'lines' used? (Score:2)
You define the tokens 'line' and 'lines' but don't use them anywhere.
Also your 'test' does'nt have the terminating "\n", so the entire set of tests are all on one line.
Possibly you should define
tests
and have tests as the starting point of the grammar. That should do it - I think.
Re:Where is 'lines' used? (Score:2)
Yup. Definitely a bug in the grammar. I'm working on improving it now.
Reply to This
Parent