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.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c40a80666be78948 X-Google-Attributes: gid103376,public From: Mats Weber Subject: Re: Elemantary Ada question Date: 2000/11/28 Message-ID: <3A23D1CE.9A449262@mail.com>#1/1 X-Deja-AN: 698726302 Content-Transfer-Encoding: 7bit References: <9008uq$hmi$1@news.uit.no> <900bgt$i6t$1@news.uit.no> X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii Organization: VTX Services SA Mime-Version: 1.0 Reply-To: matsw@mail.com Newsgroups: comp.lang.ada Date: 2000-11-28T00:00:00+00:00 List-Id: If you want to declare an identifier twice in the same declarative region, _both_ declarations must be either an enumeration literal, a function or a procedure (i.e. overloadable entities). If one of them is something else, then it's illegal. The actual rule is a little more complicated than that, you can have a look at LRM 8.3.