errata/218: Nested attributes should be prohibited

From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Mon Dec 16 2002 - 09:54:29 PST

  • Next message: Shalom.Bresticker@motorola.com: "errata/219: 17.9.3:wrong bolding in C code"

    Precedence: bulk

    >Number: 218
    >Category: errata
    >Originator: "Brad Pierce" <Brad.Pierce@synopsys.com>
    >Environment:
    >Description:

    The BNF allows nested attributes, because an attr_spec can
    contain a constant_expression which can contain a constant_expression.

    Gordon Vreugdenhil writes --
     
       "Although structurally such nestings of attributes are permitted
        in the grammar, I would suggest that we disallow such cases via
        semantic rules in the language.

       "Although I can conceive of artificial uses for such nestings,
        I don't think that fits with the original intent and would also
        needlessly complicate implementation."

    Steven Sharp writes --

       "This was accidental. There was no intent to allow nested attributes."

    -- Brad



    This archive was generated by hypermail 2.1.4 : Mon Dec 16 2002 - 10:10:52 PST and
    sponsored by Boyd Technology, Inc.