Subject: Re: [sv-ec] System include proposal
From: Kevin Cameron (Kevin.Cameron@nsc.com)
Date: Mon Mar 10 2003 - 09:28:03 PST
Jay Lawrence wrote:
> Attached is the proposal on a system-wide include mechanism.
Can we use (say) "[]" instead of "<>" - "<>" are used in C to indicate
OS specific includes more often than tool-specific, and I think it may
make sense to do the same with SV, i.e. use "<>" for platform specific
includes and "[]" tool-specific.
Regards,
Kev.
>
>
> Jay
>
> ===================================
> Proposal:
>
> The syntax of the include compiler directive will be as follows:
>
> include_compiler_directive ::=
> `include "filename"
> | `include <filename>
>
> When the filename is an absolute path, only that filename is included.
>
> When the filename is a relative path, then various directories are searched as specified below.
>
> When the double quote ("filename") version is used, the behavior of `include begins exactly like the behavior today which searches the current directory and then any directories specified via a vendor specific command line argument (like XL's +incdir+ option). The only modification is that the system-wide installation is searched by default after all user specified directories.
>
>
> When the angle bracket ("<>") notation is used, then only the system-wide installation is searched.
-- National Semiconductor, Tel: (408) 721 3251 2900 Semiconductor Drive, Mail Stop D3-500, Santa Clara, CA 95052-8090
This archive was generated by hypermail 2b28 : Mon Mar 10 2003 - 09:28:19 PST