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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,74dad3573c51736a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.35.68 with SMTP id f4mr442830pbj.5.1321989002371; Tue, 22 Nov 2011 11:10:02 -0800 (PST) Path: lh20ni6288pbb.0!nntp.google.com!news2.google.com!postnews.google.com!s6g2000vbc.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: =?windows-1252?Q?Re=3A_Basic_questions_about_wordings_in_=93Interfacing?= =?windows-1252?Q?_Pragmas=94?= Date: Tue, 22 Nov 2011 11:10:01 -0800 (PST) Organization: http://groups.google.com Message-ID: <32ebf2db-e697-41e3-ac12-9673b9467c0b@s6g2000vbc.googlegroups.com> References: NNTP-Posting-Host: 91.7.115.100 Mime-Version: 1.0 X-Trace: posting.google.com 1321989001 25039 127.0.0.1 (22 Nov 2011 19:10:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 22 Nov 2011 19:10:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s6g2000vbc.googlegroups.com; posting-host=91.7.115.100; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.0; rv:7.0.1) Gecko/20100101 Firefox/7.0.1,gzip(gfe) Xref: news2.google.com comp.lang.ada:14524 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2011-11-22T11:10:01-08:00 List-Id: On 22 Nov., 19:15, Yannick Duch=EAne (Hibou57) wrote: > > 9.1/1 For pragmas Import and Export, the argument for Link_Name shallno= t > > be given without the pragma_argument_identifier unlessthe argument for > > External_Name is given. > > What is that pragma_argument_identifier ? The Convention ? pragma Pragma_Name (pragma_argument_identifier =3D> Value, ...); The pragma_argument_identifier is the formal name of the argument. It cannot be omitted for Link_Name when External_Name is omitted because this is the last argument. > In legality rules> 18 T is an access-to-subprogram type, and its designat= ed profile's > > parameter and result types are all L-compatible. > > Why no similar wording for imported subprograms ? Was just forget or is > this missing on purpose ? (or I missed it?) Don't understand. This is a rule for a type T and not for subprograms.