Re: [Fwd: Question of `undef]

From: Steven Sharp (sharp@cadence.com)
Date: Tue Nov 09 1999 - 11:28:29 PST


Macros with arguments are not implemented in Verilog-XL, but they are
implemented in NC-Verilog. In NC-Verilog, the correct syntax is

`undef max

Using `undef max(a,b) produces a syntax error.

The BNF should probably be modified to match this. Generally, when you
want to use `undef, you are trying to get rid of any old definitions
without necessarily knowing anything about the definition, such as its
parameters.

This syntax correction applies to `ifdef also.



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