[antlr-interest] Equivalent of skip() with C runtime?

Jim Idle jimi at temporal-wave.com
Fri Jun 22 07:37:05 PDT 2007


When I implement it, it will be SKIP(); but it was missed:

 

          // TODO: Deal with SKipped token type

          //

 

So, for now set the channel to something you will ignore.

 

Jim

 

From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Cameron Esfahani
Sent: Thursday, June 21, 2007 8:57 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Equivalent of skip() with C runtime?

 

I want to ignore certain tokens from the lexer.  When I was using the
Java runtime, I used the skip() action.  Does anyone know what the
equivalent would be for the C runtime?

 

Cameron Esfahani

dirty at apple.com

 

"You only live once, and the way I live, once is enough"

 

Frank Sinatra

 





 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070622/fa7c47b4/attachment.html 


More information about the antlr-interest mailing list