Language element control
None.
Enables recognition of digraph key combinations or keywords to represent characters not found on some keyboards.
DIGRAPH
Table 1 shows the digraphs that z/OS® XL C/C++ supports:
Table 2 shows additional keywords that z/OS XL C++ supports:
Keyword | Characters produced |
---|---|
bitand | & |
and | && |
bitor | | |
or | || |
xor | ^ |
compl | ~ |
and_eq | &= |
or_eq | |= |
xor_eq | ^= |
not | ! |
not_eq | != |
The IPA link step issues a diagnostic message if you specify the DIGRAPH option on that step.
__DIGRAPHS__ is predefined to 1 when the DIGRAPH compiler option is in effect.
char * s = "<%%>"; // stays "<%%>"
switch (c) {
case '<%' : ... // stays '<%'
case '%>' : ... // stays '%>'
}
See z/OS XL C/C++ Language Reference for more information on digraphs.