From: Adam Krolnik (adamk@cyrix.com)
Date: Mon Jan 04 1999 - 11:22:42 PST
Good afternoon Eli:
You mention that the `line directive having 2 additional optional parameters.
I only have access to a sun/solaris CPP man page. These are the relevant
sections:
#line integer-constant "filename"
Generate line control information for the next pass of
the C compiler. integer-constant is interpreted as the
line number of the next line and filename is inter-
preted as the file from where it comes. If "filename"
is not given, the current filename is unchanged. No
additional tokens are permitted on the directive line
after the optional filename.
Output
Output consists of a copy of the input file, with modifica-
tions, plus lines of the form:
#lineno " filename" "level"
indicating the original source line number and filename of
the following output line and whether this is the first such
line after an include file has been entered (level=1), the
first such line after an include file has been exited
(level=2), or any other such line (level is empty).
<p>Are you asking for allowing the 'level' field from non specifyable
directive? It would have to be optional since we are effectively
merging two directives into one for Verilog.
If you prefer the Sun wording of the cpp to my writing (while reading
this man page and the Verilog LRM) They please indicate.
Adam Krolnik
Verification Engineer
Cyrix - NSC.
Richardson TX. 75085
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:53:24 PDT
and
sponsored by Boyd Technology, Inc.