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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,78447032bdbeb343 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!postnews.google.com!m73g2000hsh.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Santiago_Urue=F1a?= Newsgroups: comp.lang.ada Subject: Re: Proposal: pragma Assumption Date: Wed, 28 May 2008 06:11:16 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6d4f6061-4401-443f-8eed-d6df68c7fb14@m73g2000hsh.googlegroups.com> References: <30917be5-1446-417c-8a4e-18b2f9a1f420@b1g2000hsg.googlegroups.com> <13aa4422-c478-478e-8e33-882508d9d1f8@k30g2000hse.googlegroups.com> <0t4j1g.c4o.ln@hunter.axlog.fr> NNTP-Posting-Host: 138.4.11.35 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1211980276 20171 127.0.0.1 (28 May 2008 13:11:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 28 May 2008 13:11:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m73g2000hsh.googlegroups.com; posting-host=138.4.11.35; posting-account=Lcd2wAoAAAADW2SqWO5AWY55Q-jjpVWU User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.8.1.10) Gecko/20071115 Iceweasel/2.0.0.10 (Debian-2.0.0.10-0etch1),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:424 Date: 2008-05-28T06:11:16-07:00 List-Id: > If you want to check that something is no more in a program, AdaControl > can tell you: > - if any pragma you name is used > - if any element you name (including procedures of course) is used > - if any regexp you name (i.e. "TODO") is matched by a comment > Good point (wonderful tool, by the way). However, my concern is to _forget_ to do the search at the end. That's why the compiler can help a lot here... -- Santiago Urue=F1a-Pascual Technical University of Madrid (UPM)