2006/12/30, Damien Cassou damien.cassou@laposte.net:
but how do I define JunkLine to match anything BUT interesting lines?
You should be able to define a priority between rules.
I don't know how besides ordering them. But does it really solve my problem, since the two rules still match (and the junk one possibly matches a longer input since it is much more generic) ?
In fact I'm getting an error while compiling the parser: "A block compiles more than 1K bytes of code"