OK - I re-read my own comments, and this is deliberate. If you want to use
the ANTLR3_STRING stuff, then you will need to implement UTF8 versions of
the functions. However, I should really install the 8 bit versions so that
we do not crash, so I will do that, but the strings will have limited
value in UTF8 other than to get the actual characters.

Jim

> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of Julien BLACHE
> Sent: Friday, June 24, 2011 10:10 AM
> To: [email protected]
> Subject: Re: [antlr-interest] Changes to C runtime for 3.4
>
> Jim Idle <[email protected]> wrote:
>
> Hi Jim,
>
> > 1)      The distinction between ASCII and UCS2 input streams is now
> removed
> > and there is a single function: antlr3FileStreamNew() to replace the
> > file related input streams and a function" antlr3StringStreamNew to
> > replace the memory related input streams. Prototypes and usage:
>
> antlr3StringStreamNew() crashes by calling a NULL funcptr when creating
> a new UTF8 stream.
>
> At the bottom of the function, input->strFactory->newStr8() is NULL.
>
> JB.
>
> --
> Julien BLACHE
> <http://www.jblache.org>
> <[email protected]>                                  GPG KeyID 0xF5D65169
>
> 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.

Reply via email to