Well, I fixed that problem, now on to finding the next one. Alan ---
Alan Condit 1085 Tierra Ct. Woodburn, OR 97071 Email -- [email protected] Home-Office (503) 982-0906 On Jul 14, 2010, at 12:00 PM, [email protected] wrote: > From: Alan Condit <[email protected]> > Date: July 14, 2010 10:49:08 AM PDT > To: [email protected] > Subject: Re: [antlr-interest] StringTemplate for copying code from lexer rule > to output code > > > Jim, > > I am in the process of bringing it up to date. I started with the templates > that Kay had done and I don't know if Kay deleted a template that is needed > or what. So I am trying to find out what template copies the actions in the > Java code (since it works) so that I can figure out how to fix the ObjC code. > > Alan > --- > > Alan Condit > 1085 Tierra Ct. > Woodburn, OR 97071 > > Email -- [email protected] > Home-Office (503) 982-0906 > From: "Jim Idle" <[email protected]> > Date: July 14, 2010 8:42:51 AM PDT > To: "[email protected]" <[email protected]> > Subject: Re: [antlr-interest] StringTemplate for copying code from lexer rule > to output code > > > 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: [email protected] [mailto:antlr-interest- >> [email protected]] On Behalf Of Alan Condit >> Sent: Wednesday, July 14, 2010 6:52 AM >> To: [email protected] >> 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 -- [email protected] >> 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 [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.
