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,531fa81e1ce02677 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!proxad.net!freenix!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: ASIS question Date: Fri, 16 Sep 2005 10:22:25 +0200 Organization: Adalog Message-ID: <1cvdgd.g98.ln@hunter.axlog.fr> References: <43299b20$1_2@newsfeed.slurp.net> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1126861288 3879 195.25.228.57 (16 Sep 2005 09:01:28 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 16 Sep 2005 09:01:28 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: fr, en In-Reply-To: <43299b20$1_2@newsfeed.slurp.net> Xref: g2news1.google.com comp.lang.ada:4780 Date: 2005-09-16T10:22:25+02:00 List-Id: James Alan Farrell a �crit : > Given a declaration, is there an easy way to get a list of pragmas > relating to that declaration? > > ie: > > procedure Foo; > pragma Export(C, Foo, "foo"); > > where Foo is declared in a long list of declarations. I have the decl > list and the declaration of Foo. Is there any way I can get the pragma > directly from Foo, rather than searching the long list of declarations > and seeing if any pragma relates to Foo? > Asis.Elements.Corresponding_Pragmas -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr