comp.lang.ada
 help / color / mirror / Atom feed
From: Christoph Grein <christoph.grein@eurocopter.com>
Subject: Re: labeling (was: partitioning (was: Future))
Date: Fri, 15 Mar 2002 09:20:55 +0100 (MET)
Date: 2002-03-15T09:20:55+01:00	[thread overview]
Message-ID: <mailman.1016180522.31471.comp.lang.ada@ada.eu.org> (raw)

This is getting more and more absurd. Why not stick to the current syntax:

[statement_identifier:] xxx
  ...
end xxx [identifier];

where xxx stands for:
  Ada95: loop_statement, block_statement
  Ada0Y: case_statement, if_statement, select_statement

Why on earth introduce new syntax? Please get the RM and see how it solves the 
present cases, and then try to take the syntax over to new cases. If you really 
want to have a chance of getting this thru, this is the way to go.

The ARG really has enough urgent problems to solve, and I bey they are reluctant 
to handle any such weird proposals.

> I would prefer
> 
>    case Animal label animal is
> 
> 
>    ......
> 
>     end animal;
> 
>     if Animal in Mammal label animal_if
>     then
> 
>     ...
>     end animal_if;
> 
> or possibly more readable:
> 
>     label animal_if
>     if Animal in Mammal
>     then
>     ...
>     end animal_if;
> 
> Prepending the statement which one want a named end for is perhaps easier to
> accomodate?
> 
> The label would not be available for anything else but end verification, so
> it would not be a problem that it has the same name as a variable or type.
> In other words; labels would have their own name space.
> 
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada



             reply	other threads:[~2002-03-15  8:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-15  8:20 Christoph Grein [this message]
2002-03-15 11:59 ` ARG Urgent Problems (was: labeling) Larry Kilgallen
2002-03-17 12:59   ` Tarjei T. Jensen
2002-03-17 13:11     ` Nick Williams
2002-03-19  9:22       ` Tarjei T. Jensen
2002-03-19 12:21         ` Jean-Pierre Rosen
2002-03-19 14:38           ` Tarjei T. Jensen
  -- strict thread matches above, loose matches on Subject: below --
2002-03-18  5:59 labeling (was: partitioning (was: Future)) Christoph Grein
2002-03-18 22:52 ` Wes Groleau
2002-03-13 13:55 Christoph Grein
2002-03-13 17:50 ` Wes Groleau
2002-03-15 16:07 ` Richard Riehle
2001-11-09 17:59 Future with Ada Michal Nowak
2002-02-26  4:12 ` Jim Rogers
2002-02-27 17:51   ` Warren W. Gay VE3WWG
2002-02-28 17:45     ` Michal Nowak
2002-02-28 18:53       ` Hyman Rosen
2002-03-01 17:26         ` Jeffrey Carter
2002-03-03  8:26           ` Hyman Rosen
2002-03-03 17:47             ` Chad R. Meiners
2002-03-04 16:30               ` Hyman Rosen
2002-03-05  1:41                 ` Richard Riehle
2002-03-05 21:35                   ` Wes Groleau
2002-03-05 22:04                     ` Marin David Condic
2002-03-06 16:36                       ` Georg Bauhaus
2002-03-06 17:27                         ` Marin David Condic
2002-03-07 16:04                           ` Georg Bauhaus
2002-03-07 16:42                             ` Marin David Condic
2002-03-11 20:02                               ` Wes Groleau
2002-03-11 23:56                                 ` Marin David Condic
2002-03-12 16:47                                   ` code partitioning (was: Future with Ada) Wes Groleau
2002-03-12 17:56                                     ` Marin David Condic
2002-03-13 13:42                                       ` labeling (was: partitioning (was: Future)) Wes Groleau
2002-03-14 12:46                                         ` Michal Nowak
2002-03-14 17:27                                           ` Wes Groleau
2002-03-14 20:27                                             ` Marin David Condic
2002-03-15  8:00                                         ` Tarjei T. Jensen
2002-03-15 15:10                                           ` Wes Groleau
replies disabled

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