 |
C251 User's Guide |
 |
|
|
|
|
COND Compiler Directive
| Abbreviation | CO |
| Arguments |
None.
|
| Default |
COND
|
| µVision |
Options — Listing — C Compiler Listing — Conditional.
|
| Description |
The COND directive includes lines omitted from compilation
in the listing file. Line numbers and nesting levels are not output
for lines excluded from the compilation.
The effect of this directive takes place one line after the
preprocessor detects it.
|
| See Also | NOCOND |
| Example |
The following example shows the listing file for a source file
compiled with the COND directive:
.
.
.
stmt level source
1 extern unsigned char a, b;
2 unsigned char c;
3
4 main()
5 {
6 1 #if defined (VAX)
c = 13;
#elif defined (_ _TIME_ _)
9 1 b = 14;
10 1 a = 15;
11 1 #endif
12 1 }
.
.
.
|
|
|
|