From: Michael McNamara (mac@verisity.com)
Date: Wed May 01 2002 - 13:56:17 PDT
Precedence: bulk
Paul Graham writes:
> Precedence: bulk
>
> I would like to clarify whether the +: and -: operators are single tokens or
> pairs of tokens. This affects whether a space may appear between the
> characters + and :, and whether it can be constructed out of a pair
> of macros:
>
> `define x +
> `define y :
>
> A[i `x`y 4] // legal??
>
> I would vote in favor of making each of +: and -: into a single
> two-character token, not a pair of one-character tokens.
>
> Paul
They are each a two character token. Spaces are not allowed.
As for whether multiple macro substitution can create a signle token I
believe the standard is silent.
-mac
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:55:36 PDT
and
sponsored by Boyd Technology, Inc.