Jim, I'm not sure which time zone you're in, I'm assuming it's already after midnight ... I do appreciate your taking time on this. I'll try your suggestion in my z/OS env next week. I'll update this thread with the result.
Thanks, -Lego On Sun, Oct 18, 2009 at 1:12 AM, Jim Idle <[email protected]> wrote: > No - it works, but you have to be careful to avoid ANTLR merging the > ranges. See my later post. > > Jim > > > -----Original Message----- > > From: [email protected] [mailto:antlr-interest- > > [email protected]] On Behalf Of David-Sarah Hopwood > > Sent: Saturday, October 17, 2009 11:57 AM > > To: [email protected] > > Subject: Re: [antlr-interest] ANTLR C: Question regarding the > > portability of generated lexer C code > > > > Jim Idle wrote: > > [...] > > > Change the ranges to: > > > > > > ID: ‘a’..’k’ | ‘l’..’t’ … > > > > I doubt that will work. The generated code sometimes uses character > > literals, sometimes string literals, and sometimes Unicode code point > > values. The code can't be compiled as EBCDIC because the code point > > values are not EBCDIC codes. > > > > It would be easier to hack the C target so that it avoids character > > literals, and uses only \x escapes in string literals. > > > > -- > > David-Sarah Hopwood ⚥ http://davidsarah.livejournal.com > > > > > > 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 > -- Fear of the LORD is the beginning of knowledge (Proverbs 1:7) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
