comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <jacob@jacob-sparre.dk>
Subject: Re: ASIS: Recognising type declarations from package Standard?
Date: Sat, 02 Jun 2018 18:30:13 +0200
Date: 2018-06-02T18:30:13+02:00	[thread overview]
Message-ID: <87vab1p2wa.fsf@jacob-sparre.dk> (raw)
In-Reply-To: peuavn$19nk$1@gioia.aioe.org

J-P. Rosen wrote:
> Le 01/06/2018 à 15:59, Jacob Sparre Andersen a écrit :

>> I'm working on an ASIS tool, where I want to treat subtypes of
>> Standard.String.  But how can I identify types declared in package
>> Standard with ASIS?
>> 
>> Using ASIS-4-GNAT, Asis.Text.Element_Image returns "" for an element
>> representing Standard.String. - I can see that it is an unconstrained
>> array type (like Standard.Wide_String), but nothing more than that.
>> 
> ??? This should work... Search for "STANDARD" in the sources of
> AdaControl, you'll find several places where it works.

I must be doing something wrong, then.  I'll take a look.

Thanks!

Jacob
-- 
"The three principal virtues of a programmer are Laziness,
 Impatience, and Hubris"                       -- Larry Wall

      reply	other threads:[~2018-06-02 16:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-01 13:59 ASIS: Recognising type declarations from package Standard? Jacob Sparre Andersen
2018-06-02 14:52 ` J-P. Rosen
2018-06-02 16:30   ` Jacob Sparre Andersen [this message]
replies disabled

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