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.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6e6cdf6ff50e684 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-10 09:40:15 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!195.115.0.4.MISMATCH!esplande3000.net!oleane.net!oleane!newsfeed.mathworks.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: Re: Representation clause for enumeratives Date: Sat, 10 Feb 2001 17:31:45 GMT Organization: Deja.com Message-ID: <963tu2$b0f$1@nnrp1.deja.com> References: <95tqbh$ag7$1@nnrp1.deja.com> <962n4v$fmg$1@nnrp1.deja.com> <27eh6.3787$y03.254014@news.flash.net> NNTP-Posting-Host: 205.232.38.14 X-Article-Creation-Date: Sat Feb 10 17:31:45 2001 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x65.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:5102 Date: 2001-02-10T17:31:45+00:00 List-Id: In article <27eh6.3787$y03.254014@news.flash.net>, "Ken Garlington" wrote: > : P.S. The one undesirable behavior in GNAT that I see, and > : will fix is that the error flag is not clearly placed on > : the particular literal that is causing trouble! > > Which was also my point. OK, well it would help to be a little less obscure when making such points in future :-) In particular, the flag is placed on the representation clause itself, not on the wrong literal, so it is not wrongly placed, just not as specifically placed as you might like. What is quite helpful is to quote -gnatl output in such cases in comp.lang.ada listings, because then it is very clear what the message is applying to, if you only quote the brief errors we don't really know what line numbers are being referenced, because we don't have the full program. In fact I would not have noticed this at all if I had not bothered to make a full example and compile it myself! Sent via Deja.com http://www.deja.com/