Hi,
  I think I'm misunderstanding the usage of $channel = HIDDEN
or skip().

I have text that looks like:

  'b...@l^@a...@h^@'

(most of the time the text is simply 'blah')
and then it should come out like this:

  'blah'

my relevant rules are:

  startrule : BLAH;
  BLAH    : 'blah';
  UCODE   : '\u0000'{ $channel = HIDDEN; };

I'm reading in through antlrinputstream as "UTF8" as I do
want to support multi-byte chars and I have rules to help
that such as:

UNICODE : ('\u00a0'..'\uffff');

What am I doing wrong here?

Thanks,
Ian

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to