Why?

:s/skip\(\)/SKIP()/g

However it is a macro defined in the generated code, all you need do is:

#define skip() SKIP()

In an @section that follows the macro definition of SKIP

Jim

> -----Original Message-----
> From: antlr-interest-boun...@antlr.org [mailto:antlr-interest-
> boun...@antlr.org] On Behalf Of Alan Condit
> Sent: Tuesday, May 18, 2010 9:42 PM
> To: antlr-interest@antlr.org
> Subject: [antlr-interest] SKIP() vs skip() in 'C' runtime
> 
> Where is the code for SKIP() found in the 'C' runtime? I had SKIP() in
> my C code version of the parser then I had to move to Java to find some
> bugs in my grammar. There I had to change SKIP() to skip(). Now I am
> going back to 'C' but I would like to change the 'C' runtime so that it
> will accept the lowercase skip().
> 
> Thanks,
> Alan
> ---
> 
> Alan Condit
> 1085 Tierra Ct.
> Woodburn, OR 97071
> 
> Email -- acon...@ipns.com
> Home-Office (503) 982-0906
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address




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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to