BTF - B24 - `ifndef

From: Thomas Fitzpatrick (tfitz@cadence.com)
Date: Tue May 06 1997 - 13:52:26 PDT


 Behavioral Task Force - Enhancement Request
 Assigned Enhancement Request Number: B24
 Enhancement Name (Description): Add `ifndef
 Date Submitted: 970505
 Requestor: tfitz@cadence.com (Tom Fitzpatrick - Cadence)
 Status: It was approved by acclamation, but I'll let Cliff make the
                official notification.

LRM wording:

Section 16.4 `ifdef, `ifndef, `else, `endif
...The `ifndef compiler directive checks for the definition of a variable name.
If the variable name is not defined, then the lines following the `ifndef
directive are included.

BNF addition:

conditional_compilation_directive ::=
  ifdef_directive | ifndef_directive

ifdef_directive ::=
  `ifdef text_macro_name
   first_group_of_lines
   [`else
    second group of lines
   `endif]
ifndef_directive ::=
  `ifndef text_macro_name
   first_group_of_lines
   [`else
    second group of lines
   `endif]

-- 
Tom Fitzpatrick

Cadence Design Systems Technical Marketing Manager Product Engineering Logic Design & Verification Group (508)446-6438 x6438



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