in reply to Re^4: Help with Parse::RecDescent grammar
in thread Help with Parse::RecDescent grammar
Here is the output I get:
Oops, portList should be
portList : "'" "(" record(s?) ")" { $item[3] }
I made a minor change (undid my mergine of ' and ( into a single token) right before posting without testing.
By the way, "'(" means no whitespace (as defined by <skip>, \s* by default) is allwed between the two characters, while "'" "(" means whitespace IS allowed.
could this have something to do with the #f?
Is that a commment? I treated it as a comment, so I used <skip> to handle it.
If it's not a comment, what is it? An unquoted string? Does it support any kind of escapes?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Help with Parse::RecDescent grammar
by dramguy (Novice) on Dec 13, 2006 at 14:25 UTC | |
by ikegami (Patriarch) on Dec 13, 2006 at 16:47 UTC | |
by dramguy (Novice) on Dec 13, 2006 at 17:29 UTC | |
by ikegami (Patriarch) on Dec 13, 2006 at 17:46 UTC |