TAL Reference Manual
TAL Reference Manual—526371-001
16-1
16 Compiler Directives
This section describes compiler directives provided by the TAL compiler. Compiler
directives let you:
•
Specify input source code
•
Select options that control listings, generate object code, and build the object file
•
Perform conditional compilation
•
Allocate and delete the compiler’s internal data structures
Specifying Compiler Directives
You can specify compiler directives either in a compilation command or in a directive
line, unless otherwise noted in this section. The compiler interprets and processes
each directive at the point of occurrence.
Compilation Command
When you issue the compilation command at the TACL prompt, you can specify
compiler directives following the semicolon. In the following example, NOMAP
suppresses the symbol map and CROSSREF produces a cross-reference listing:
TAL /IN mysrc, OUT $s.#lists/ myobj; NOMAP, CROSSREF
You can specify any directive in the compilation command except the following, which
can appear only in the source file:
ASSERTION
BEGINCOMPILATION
DECS
DEFINETOG
DUMPCONS
ENDIF
IF
IFNOT
PAGE
RP
SECTION
SOURCE
The following directives can appear only in the compilation command:
EXTENDTALHEAP
SQL with the PAGES option
SYMBOLPAGES
For information on compilation command options, see Section 14, Compiling
Programs, in the
TAL Programmer’s Guide.