17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example ex_glint.c<br />

Files:<br />

Also See: #INT_xxxx<br />

__line__<br />

Syntax:<br />

Elements:<br />

Purpose:<br />

Examples:<br />

Example Files:<br />

Also See:<br />

__line__<br />

None<br />

The pre-processor identifier is replaced at compile time with line number of<br />

the file being compiled.<br />

if(index>MAX_ENTRIES)<br />

printf("Too many entries, source file: "<br />

__FILE__" at line " __LINE__ "\r\n");<br />

assert.h<br />

_ _ file_ _<br />

#list<br />

Syntax:<br />

Elements:<br />

Purpose:<br />

#LIST<br />

None<br />

#LIST begins inserting or resumes inserting source lines into the .LST file after<br />

a #NOLIST.<br />

Examples:<br />

#NOLIST // Don't clutter up the list file<br />

#include <br />

#LIST<br />

Example Files:<br />

Also See:<br />

16c74.h<br />

#NOLIST<br />

116

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!