comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve" <nospam_steved94@comcast.net>
Subject: Re: Question on use of ! instead of |
Date: Wed, 22 Jun 2005 18:27:31 -0700
Date: 2005-06-22T18:27:31-07:00	[thread overview]
Message-ID: <Aq6dnczvuKYukiffRVn-hA@comcast.com> (raw)
In-Reply-To: 42b96967$1_1@newsfeed.slurp.net

"James Alan Farrell" <jfarrell@nospam.com> wrote in message 
news:42b96967$1_1@newsfeed.slurp.net...
> Hi all,
> I'm working on a program to analyze Ada code using ASIS.  We use ACATS
> to test our software, and this has turned up some behavior I'm having
> troubles explaining.
>
> ACATS test a2a031a.adb (below) has a line in it:
>
>      VAR := (A!B => E2, C ! D => 0);    -- AGGREGATE.
>
> According to ASIS, "A!B" is an identifier.  If I put spaces around the !
> then A and B are identifiers and things work the way I expect, and if I
> replace the ! with a | again things work the way I expect.
>

Ada 95 Reference Manual
2.3 Identifiers

  identifier ::= identifier_letter{[underline]letter_or_digit}

I would certainly say that A!B is not an identifier.

Seems worthy of sending a report to AdaCore.

report@gnat.com

(as I recall)

Steve
(The Duck)







      parent reply	other threads:[~2005-06-23  1:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22 13:35 Question on use of ! instead of | James Alan Farrell
2005-06-22 22:35 ` Manuel G. R.
2005-06-23 13:00   ` James Alan Farrell
2005-06-23  1:27 ` Steve [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox