From: "John Roberts-Jones" <johnrj@globalnet.co..uk>
Subject: Re: Lexical Conundrum
Date: 1998/02/24
Date: 1998-02-24T00:00:00+00:00 [thread overview]
Message-ID: <6cusgn$8bm$1@heliodor.xara.net> (raw)
In-Reply-To: dewar.888188165@merv
Robert Dewar wrote in message ...
>I recommend reading the GNAT sources to get more knowledge in this area.
>Here is a quote from the comments of the Scn package:
>
> -- Here is where we make the test to distinguish the cases. Treat
> -- as apostrophe if previous token is an identifier, right paren
> -- or the reserved word "all" (latter case as in A.all'Address)
> -- Also treat it as apostrophe after a literal (wrong anyway, but
> -- that's probably the better choice).
>
Does this cover the case that the prefix of an attribute is a subprogram
overloading a standard operator such as
rational."+" ' access ?
It would, on a similar subject to the original post, be interesting to hear
an authoritative view as to any probems associated with disambiguating a
character string such as "+".
next prev parent reply other threads:[~1998-02-24 0:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-22 0:00 Lexical Conundrum Nick Roberts
1998-02-22 0:00 ` Robert Dewar
1998-02-24 0:00 ` John Roberts-Jones [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-02-19 0:00 Nick Roberts
[not found] ` <EotBMK.MnK@world.std.com>
1998-02-22 0:00 ` Robert Dewar
[not found] ` <Eou91J.Es9@world.std.com>
1998-02-23 0:00 ` Robert Dewar
1998-02-23 0:00 ` Keith Thompson
1998-02-23 0:00 ` Robert Dewar
1998-02-26 0:00 ` Dr Steve Sangwine
1998-02-23 0:00 ` Mark A Biggar
1998-02-24 0:00 ` Mats Weber
1998-02-24 0:00 ` Robert Dewar
1998-03-05 0:00 ` Robert I. Eachus
1998-02-23 0:00 ` Jean-Pierre Rosen
1998-02-23 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox