comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
Subject: Re: Indentation
Date: Fri, 08 Aug 2014 18:38:33 +0200
Date: 2014-08-08T18:38:33+02:00	[thread overview]
Message-ID: <1407515913.3418.21.camel@pascal.home.net> (raw)
In-Reply-To: ls2su9$kh7$1@speranza.aioe.org

Le vendredi 08 août 2014 à 19:12 +0300, Victor Porton a écrit : 
> What should be the indentation in the following Ada code fragment 
> (especially its last line)?
> 
> type T is
> record
> X: Integer;
> end record
> with Convention => C;

For me:

type T is record
   X: Integer;
end record with Convention => C;

3 lines. If there is multiple aspects, probably:

type T is record
   X: Integer;
end record with 
  Pass_By_Copy => True,
  Convention   => C;

or

type T is record
   X: Integer;
end record 
with 
  Pass_By_Copy => True,
  Convention   => C;

Not sure yet as this is quite recent and I did not use such aspects.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B



      parent reply	other threads:[~2014-08-08 16:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-08 16:12 Indentation Victor Porton
2014-08-08 16:32 ` Indentation Adam Beneschan
2014-08-08 17:16   ` Indentation Jeffrey Carter
2014-08-08 17:45     ` Indentation Peter Chapin
2014-08-08 17:50       ` Indentation Peter Chapin
2014-08-08 22:51     ` Indentation Randy Brukardt
2014-08-08 16:38 ` Pascal Obry [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