[antlr-interest] StringTemplate for copying code from lexer rule to output code
Jim Idle
jimi at temporal-wave.com
Wed Jul 14 08:42:51 PDT 2010
Alan,
Objective C has not been maintained for a long time - are you sure it is good enough for you to use? The reason it is missing from the output could be any number of reasons I am afraid :-( But start from the template that produces the rule itself and descend the hierarchy.
Jim
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Alan Condit
> Sent: Wednesday, July 14, 2010 6:52 AM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] StringTemplate for copying code from lexer
> rule to output code
>
> I have spent almost a week trying to track down a bug in the ObjC-
> runtime/stg parsing files, only to discover that I have a problem in
> the lexer.
>
> Given this lexer rule --
>
> WS : ( ' ' | '\t' ) { [self skip]; } ;
>
> I would expect to find
> [self skip];
> somewhere in the mWS routine in the generated lexer code. It is
> missing, so obviously I have changed something incorrectly. Can anyone
> tell me which stringTemplate in Objc.stg should be doing the copying of
> the code fragment?
>
> Thanks,
> Alan
> ---
>
> Alan Condit
> 1085 Tierra Ct.
> Woodburn, OR 97071
>
> Email -- acondit at 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
More information about the antlr-interest
mailing list