ASMXREF is supplied with a sample language
(XRFLANG) file. This file contains two segments:
The default token segment contains the tokens included by default in the ASMXREF scan phase for the TWU and SOR
reports.
The language segment contains the languages supported by ASMXREF, and the language-specific exclude verbs
(words).ASMXREF treats these verbs in a
similar way to exclude tokens, but excludes them when scanning a file in the specified
language.
Figure 1. Sample XRFLANG file
DEFAULT TOKENS
DATE
TIME
MM/DD/YY
MM/YY
DD/MM/YY
YY/MM/DD
YYDDD
MONTH
DAY
YEAR
YR
*DATE
DAT*
*YR'
*C''20*
*P''20*
LANG=FORTRAN
ARRAY
BACKSPACE
⋮
LANG=ASM
DC
EQU
⋮
LANG=COBOL
ACCEPT
ACCESS
⋮
LANG=C
&&
_ANSI_
⋮
LANG=CPP
&&
_cplusplus
LANG=PLI
%ACTIVATION
%DECLARE
⋮
LANG=RPG
*IN0A
*IN0B
⋮