in reply to Re^2: PRD parser problem: How to skip C comments when parsing
in thread PRD parser problem: How to skip C comments when parsing
Did you forget to remove <skip: /\/\/.*\n/> from Prize?
You'll still get an error, though, because your data is invalid based on your definition of Prize. You've previously indicated or implied that the Prize is the rest of the line. You have changed you definition of Prize without adjusting your grammar to compensate. You probably want something like:
Prize: /(?:(?!\n|\/\*|\/\/).)*/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: PRD parser problem: How to skip C comments when parsing
by Hanken (Acolyte) on Jun 10, 2008 at 08:40 UTC | |
by ikegami (Patriarch) on Jun 10, 2008 at 09:49 UTC |