Hi Konstantin,
I'm not sure why you would need an "any" token. Usually, "any" serves as
a helper. Anyway, to answer your question, you should write:
any = [[0x0000..0xFFFF] - [[tab + ' '] + [cr + lf]]]+;
I know, it is painful. SableCC 4 will be more convenient:
any = (#x0000..#xFFFF) - (' ' | tab | cr | lf);
Have fun!
Etienne
maddcast wrote:
> As you can see I've excluded semicolon and CR, but I need to exclude all the whitespaces. How can I do that?
>
--
Etienne M. Gagnon, Ph.D.
SableCC: http://sablecc.org
SableVM: http://sablevm.org
Attachment:
signature.asc
Description: OpenPGP digital signature