clarification on +: and -: operators

From: Paul Graham (pgraham@cadence.com)
Date: Wed May 01 2002 - 13:44:05 PDT


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



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:55:36 PDT and
sponsored by Boyd Technology, Inc.