errata/601: ANALYZED - macro formal argument usage

From: eric_mahurin@yahoo.com
Date: Sun Jul 25 2004 - 12:27:56 PDT

  • Next message: Shalom.Bresticker@freescale.com: "Re: errata/113: revised generate proposal"

    Another place where this can be an issue is in the "edge" construct:

    `define digits(x1) x1
    edge[`digits(10)] // edge[10] or edge[x1] ?
    `define edge(x1) edge[x1]
    `edge(10) // edge[10] or edge[x1] ?

    All of these examples I've given are places where numbers/levels/edges can appear and not identifiers. But, these can also look like identifiers. So, are macro formal arguments replaced at these points? And if so, what if the formal argument identifier is the same as a valid number/level/edge?

    http://boydtechinc.com/cgi-bin/issueproposal.pl?cmd=view&database=default&pr=601



    This archive was generated by hypermail 2.1.4 : Sun Jul 25 2004 - 12:28:12 PDT and
    sponsored by Boyd Technology, Inc.