|
|
The order of these translation phases is specified by ANSI C:
??= # ??' ^
??- ~ ??! |
??( [ ??/ \
??) ]
??< {
??> }
These sequences must be understood by ANSI C compilers,
but they should not be used except (possibly)
to obscure code.
The ANSI C compiler warns you whenever
it replaces a trigraph while in transition
(-Xt)
mode, even in comments.
For example, consider the following:
/* comment *??/ /* still comment? */The ??/ becomes a backslash. This character and the following newline are removed. The resulting characters are
/* comment */* still comment? */The first / from the second line is the end of the comment. The next token is the *.