Node:-D_, Next:-d, Previous:-cpp, Up:Options
-D
: Display reserved wordsThis information option displays the list of reserved words for the
language currently in force. (For the purposes of this option,
`reserved words' include "true" reserved words such as int
;
they also include the names of intrinsic functions such as sin
and, for FORTRAN and RATFOR, I/O keywords such as
IOSTAT
.) Thus, to see the reserved words for RATFOR-90,
say
ftangle -Lr9 -D
(For this option one must set the language on the command line, because
the -D
option is processed before the limbo section of the web file is
read.)
If one says -Dabc
, one will get just the reserved words that begin with
"abc".
If one says -D*
, one will get all reserved words for all languages.
The -D
may be followed by a list of one or more optional letters
enclosed in square brackets. (For UNIX systems, don't forget to
quote the brackets, as they mean something special to the shell.) The
letters represent which kind of reserved word to display; they may be
i
(`intrinsic'), k
(`keyword'), or r
(`reserved').
Thus, to see a list of the FORTRAN keywords, say -D[k]
. To
see a list of the intrinsic functions for C++ that begin with s
,
say -Lc++ -D[i]s
.