comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Does OpenToken support Unicode
Date: Fri, 16 Dec 2011 19:58:22 -0500
Date: 2011-12-16T19:58:22-05:00	[thread overview]
Message-ID: <82vcpgf1zl.fsf@stephe-leake.org> (raw)
In-Reply-To: 2652647e-ef0a-4440-b127-4ddc59620707@4g2000yqu.googlegroups.com

mtrenkmann <martin.trenkmann@googlemail.com> writes:

> For example, can it somehow be made possible that
>
> procedure OpenToken.Recognizer.Analyze
>    (The_Token : in out Instance;
>     Next_Char : in       Character;
>     Verdict      : out     Analysis_Verdict) is abstract;
>
> does support Wide_Wide_Character for the Next_Char parameter?

Copy the package, add _Wide_Wide to the name, change all occurences of
Character to Wide_Wide_Character, and compile. It will probably fail, so
iterate until you've modified all the necessary packages.

If you are ambitious, instead of copy and edit, change them into
generics on the character type.

-- 
-- Stephe



  parent reply	other threads:[~2011-12-17  0:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-15 14:09 Does OpenToken support Unicode mtrenkmann
2011-12-15 15:16 ` Dmitry A. Kazakov
2011-12-17  0:58 ` Stephen Leake [this message]
2012-01-23 22:03   ` mtrenkmann
2012-01-23 22:48   ` mtrenkmann
2012-01-24 10:40     ` Georg Bauhaus
2012-01-24 13:47     ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox