comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Syntax of extended return statement
Date: Tue, 15 Mar 2011 22:23:06 -0400
Date: 2011-03-15T22:23:06-04:00	[thread overview]
Message-ID: <wccoc5bkdmd.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: C9A5AE3D.82B0%news@findlayw.plus.com

Bill Findlay <news@findlayw.plus.com> writes:

> My problem is that I see no justification for that in the Ada 2005 RM, which
> gives:
>
> extended_return_statement ::=
>
> return defining_identifier:[aliased] return_subtype_indication[:=expression]
> [do
>    handled_sequence_of_statements
> end return]; 
...
> Can anyone enlighten me?

"constant" is allowed by AI05-0015.  If you look at the latest version
of the RM, you will see that syntax allowed.

- Bob



  reply	other threads:[~2011-03-16  2:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16  0:01 Syntax of extended return statement Bill Findlay
2011-03-16  2:23 ` Robert A Duff [this message]
2011-03-16 17:03   ` Bill Findlay
2011-03-16 10:28 ` Julian Leyh
replies disabled

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