negative matching using Smacc
Damien Pollet
damien.pollet at gmail.com
Sat Dec 30 14:45:28 UTC 2006
2006/12/30, Damien Cassou <damien.cassou at 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"
--
Damien Pollet
type less, do more [ | ] http://typo.cdlm.fasmz.org
More information about the Squeak-dev
mailing list
|