Digraphs
Config: #define TPP_CONFIG_HAVE_DIGRAPHS 0/1
Check: #if __has_feature(tpp_digraphs) || __has_extension(tpp_digraphs)
Function: tpp.c: TPPLexer_NextNoMacro
Digraphs are combinations of 2 characters, that form alternative spellings for some tokens.
Trigraphs are evaluated at the same time as other tokens
Digraph | Replacement |
---|---|
<% |
{ |
<: |
[ |
%: |
# |
%> |
} |
:> |
] |