Re: [sv-bc] precedence of :/ vs. //

From: Shalom Bresticker <Shalom.Bresticker@freescale.com>
Date: Mon Aug 30 2004 - 05:13:32 PDT

Brad Pierce wrote:

> The issue then is about unlikely constructs such as the following,
> in which extra slashes have been added
>
> :///xxxxxxx
>
> In my opinion, this is still clearly a : token followed by a comment
> token. Note that comments are not part of the BNF. Regardless of
> how most current lexers are written, comments are conceptually stripped
> out before any tokens are emitted to the parser.

This means you would not be able to juxtapose a one-line comment to the :/
operator.

--
Shalom Bresticker                        Shalom.Bresticker @freescale.com
Design & Reuse Methodology                           Tel: +972 9  9522268
Freescale Semiconductor Israel, Ltd.                 Fax: +972 9  9522890
POB 2208, Herzlia 46120, ISRAEL                     Cell: +972 50 5441478
[ ]Freescale Internal Use Only      [ ]Freescale Confidential Proprietary
Received on Mon Aug 30 05:13:40 2004

This archive was generated by hypermail 2.1.8 : Mon Aug 30 2004 - 05:13:44 PDT