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,aa0ebfe6afda2b3,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: =?utf-8?B?U1BBUksgc3ludGF4IGFuZCDigJx1c2UgdHlwZeKAnSA6IGxhY2sgb2YgZmU=?= =?utf-8?B?YXR1cmUgPw==?= Date: Mon, 24 May 2010 20:41:11 +0200 Organization: Ada At Home Message-ID: NNTP-Posting-Host: H3a35zIh+WXRWu4pz5ctnw.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:11929 Date: 2010-05-24T20:41:11+02:00 List-Id: Hi, I meet a strange behavior with the SPARK syntax checker (via the examine= r). If I have something of the form procedure My_Procedure is Who_Know_What : Who_Know_What_Type; use type My_Type; begin ... bla-bla-bla ... end My_Procedure; it's OK. While if I have something like procedure My_Procedure is use type My_Type; begin ... bla-bla-bla ... end My_Procedure; Then the spark syntax checker complains =E2=80=9CSyntax Error reserved "= IS" cannot = be followed by "USE" here.=E2=80=9D So, if the =E2=80=9Cuse type=E2=80=9D comes after any kind of declaratio= n (type or = entity), that's OK, but if this comes at the first place, or worst, alon= e, = so that it cannot be anywhere than at the first place, then it is reject= ed. Strange. So much strange to me that I wonder if weither or not this is = something which had not been seen as a possible issue. What people here think about it ? Is SPARK missing something or is there a rational ?