TAL Programmer's Guide
Cross-Reference Listings
Compiler Listing
096254 Tandem Computers Incorporated 15–11
Cross-Reference
Listings
To collect cross-reference information, specify the CROSSREF directive without
parameters. If LIST and NOSUPPRESS (the defaults) are in effect at the end of the
source file, the cross-reference listings follow the global map. These listings are:
Source-file cross-reference listing (the first page)
Identifier cross-reference listing (subsequent pages)
Source-File
Cross-References
Figure 15-10 shows the format of a source-file cross-reference listing. It gives the
following information for each source file in the compilation:
File sequence number in the compilation
File name from a TAL RUN command or a SOURCE directive
Name of the source file that contained the SOURCE directive if any
Edit-file line number of the SOURCE directive if any
Figure 15-10. Source-File Cross-Reference Listing
CROSSREF CROSS-REFERENCE PROGRAM-T9622D20 (01JUN93) SYSTEM \X
Copyright Tandem Computers Incorporated 1982-1986, 1989-1993
File No. Filename
[1] $VOL.PROG1.SOURCE1S
[2] $VOL.PROG1.SOURCE2S SOURCE1S[1] 0.1
[3] $SYSTEM.SYSTEM.GPLDEFS SOURCE2S[2] 2
[4] $VOL.PROG1.SOURCE4S SOURCE1S[1] 7
[5] $SYSTEM.SYSTEM.EXTDECS SOURCE1S[1] 8
Identifier Cross-References The identifier cross-reference listing gives the following information about each
specified identifier class:
Identifier qualifiers—structure, subprocedure, and procedure identifiers
Compiler attributes—identifier class and type
Host source file
Reference lines—type of references (read, write, declaration, or other)
Identifier Qualifiers
An item declared within a structure, subprocedure, or procedure can have from zero
to three levels of qualifiers (listed immediately following the identifier name). Here is
an example that shows the ordering of qualifier levels:
OF mystruct OF mysubproc OF myproc