comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: Array of exception
Date: Tue, 2 Oct 2001 10:13:28 +0000 (UTC)
Date: 2001-10-02T10:13:28+00:00	[thread overview]
Message-ID: <slrn9rj4q6.kf.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: mailman.1002017104.28443.comp.lang.ada@ada.eu.org

* maa@liacc.up.pt wrote:
>Quoting Lutz Donnerhacke <lutz@iks-jena.de>:
>> Is it possible to define an array of exceptions? I do not get it.
>> (subtype required)
>
>Package Ada.Exceptions provides "regular" types associated with exceptions
>viz. Exception_Id and Exception_Occurrence.  Attribute 'Identity gives the
>Id of an exception.

Yep. Known and didn't remembered last evening. In the meantime the problem
changed slightly, because the inband signaling range is not continious. *GNA*
Using Exception_Id and Raise_Expression require me to rewrite the whole CASE
into an explicit array so I do not shorten the source code anyway. Only the
produced asm code can be modified by moving the jump table into the data
segment. *Hmm*



  reply	other threads:[~2001-10-02 10:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02  8:50 Array of exception Lutz Donnerhacke
2001-10-02 11:02 ` maa
2001-10-02 10:13   ` Lutz Donnerhacke [this message]
2001-10-02 20:23     ` tmoran
2001-10-03 16:25       ` Darren New
2001-10-04  8:53       ` Lutz Donnerhacke
replies disabled

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