On 01-Feb-12 13:35, Ben Pfaff wrote:
> Stephen Sprunk <> writes:
>
>> On 31-Jan-12 23:50, Charles Richmond wrote:
>>> or relegate this to a PRAGMA... before trigraphs would be recognized
>>> by the compiler.
>>
>> You couldn't use a #pragma to enable trigraphs since # is one of the
>> characters that may require a trigraph. See above.
>
> You could use a %
ragma to enable trigraphs.
Or, to avoid creating yet another bizarre sequence of symbols, you could
create a special exception for "??=pragma trigraph", without recognizing
any other trigraphs by default.
However, that still seems like a hack; it seems more straightforward to
allow implementations to optionally ignore trigraphs via some external
means, which is the status quo anyway.
S
--
Stephen Sprunk "God does not play dice." --Albert Einstein
CCIE #3723 "God is an inveterate gambler, and He throws the
K5SSS dice at every possible opportunity." --Stephen Hawking