From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,608011466ae2af71 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.219.170 with SMTP id pp10mr547574pbc.1.1341263126308; Mon, 02 Jul 2012 14:05:26 -0700 (PDT) Path: l9ni10639pbj.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: GNAT and Dimension Checking Date: Mon, 2 Jul 2012 13:58:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1faa831a-4f86-4448-896f-5f8a399e52ee@googlegroups.com> References: <2afdc8e6-def0-4a00-8535-4db40165fc92@googlegroups.com> <3c38572a-c06c-4b58-9405-ece43483b3cd@googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 X-Trace: posting.google.com 1341263126 27196 127.0.0.1 (2 Jul 2012 21:05:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 2 Jul 2012 21:05:26 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-02T13:58:41-07:00 List-Id: On Monday, July 2, 2012 1:42:04 PM UTC-7, Anh Vo wrote: > On Sunday, July 1, 2012 3:44:19 AM UTC-7, (unknown) wrote: >=20 > type Mks_Type is new Long_Long_Float > with > Dimension_System =3D> ( > (Unit_Name =3D> Meter, Unit_Symbol =3D> 'm', Dim_Symbol =3D>= 'L'), > (Unit_Name =3D> Kilogram, Unit_Symbol =3D> "kg", Dim_Symbol =3D>= 'M'), > (Unit_Name =3D> Second, Unit_Symbol =3D> 's', Dim_Symbol =3D>= 'T'), > (Unit_Name =3D> Ampere, Unit_Symbol =3D> 'A', Dim_Symbol =3D>= 'I'), > (Unit_Name =3D> Kelvin, Unit_Symbol =3D> 'K', Dim_Symbol =3D>= "Theta"), > (Unit_Name =3D> Mole, Unit_Symbol =3D> "mol", Dim_Symbol =3D>= 'N'), > (Unit_Name =3D> Candela, Unit_Symbol =3D> "cd", Dim_Symbol =3D>= 'J')); >=20 > Can anyone point me to the ARM 2012 paragraph(s) which supports this syn= tax in general. Thanks. 13.1.1(38): "Implementations may support implementation-defined aspects. Th= e aspect_specification for an implementation-defined aspect may use an impl= ementation-defined syntax for the aspect_definition, and may follow impleme= ntation-defined legality and semantics rules." -- Adam