Technical data
Compiler Directives
2-29
Typically, %addincludepath directives should be specified in your system
target file. Multiple
%addincludepath directives will add multiple paths to the
Target Language Compiler search path.
Errors, Warnings, and Debug Messages
The related error, warning, and debug message directives are:
%error tokens
%warning tokens
%trace tokens
%exit tokens
These directives produce error, warning, or trace messages whenever a target
file detects an error condition, or tracing is desired. All of the tokens following
the directive on a line become part of the generated error or warning message.
The Compiler places messages generated by
%trace onto stderr if and only if
you specify the verbose mode switch (
–v[1|2|3]) to the Compiler. See the
section “Command Line Arguments,” later in this chapter for additional
information about switches.
The
%exit directive reports an error and stops further compilation.
Built-In Functions and Values
Table 2-4 lists the built-in functions and values that are added to the list of
parameters that appear in the
.rtw file. These TLC functions and values are