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: a07f3367d7,fd504db0db66529c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: SPARK reserved and predefined words : alternative choices Date: Thu, 20 May 2010 18:37:03 +0200 Organization: Ada At Home Message-ID: References: <7618a491-d1dc-4d30-a4fa-bbd1e8c2d489@r9g2000vbk.googlegroups.com> NNTP-Posting-Host: QgHLs5XqnJEdNZrCkJ6IIg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news2.google.com comp.lang.ada:11808 Date: 2010-05-20T18:37:03+02:00 List-Id: Le Thu, 20 May 2010 11:01:30 +0200, Rod Chapman = a =C3=A9crit: > You can, of course, use the -fdl=3DXXXX switch > to de-conflict the name-space if you like. In that case, > the predefined FDL identifiers are usable. See the Examiner > User Manual for details. There is something funny with this option. The documentation says it is = = "-fd" and also refer to it as "-fdl". -fd=3Dstring: This switch controls the Examiner=E2=80=99s treatment of FDL reserved words (see section 5.3). The option -fd=3Dreject, or any abbreviation of =E2=80=98reject=E2=80=99, rejects all FDL reserved words as being syntactically unacceptable. This is the default. The option -fd=3Daccept, or any abbreviation of =E2=80=98accept=E2=80=99, suppresses the rejection of FDL reserved words, but also prevents the generation of any proof files. Any string other than =E2=80=98reject=E2=80=99 or =E2=80=98accept=E2=80=99 (or their = abbreviations) causes recognised FDL reserved words to be mangled on output by placing the string before the identifier, separated by a double underbar. As an example, -fdl=3Dpraxis would cause the identifier start to be output as praxis__start. Previously this was a binary option (-fdl_identifiers and - nofdl_identifiers) and this form is still supported, but deprecated. Mangling is what is needed, indeed. If this work, I will use it as a = default option everywhere. Something like =E2=80=9C-fdl=3Darg=E2=80=9D o= r =E2=80=9C-fdl=3Dapp=E2=80=9D should = be enough. Sources relying on this should add a note about in a README o= r = some of the like. There was an option which deals with only one specific keywords, and I = though this was the only one. Thanks Rod, that's the tip of the day. -- = There is even better than a pragma Assert: a SPARK --# check.