Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: trigraphs in X3J11
Message-ID: <1988May25.200151.2492@utzoo.uucp>
Organization: U of Toronto Zoology
References: <5215@ico.ISC.COM> <1490@eneevax.UUCP> <1988May23.000451.751@utzoo.uucp>, <4147@haddock.ISC.COM>
Date: Wed, 25 May 88 20:01:51 GMT

> I countersuggest that the compiler should always recognize trigraphs, and
> issue a warning message if any are encountered.  Then add an option to supress
> this warning.

Actually, in the experimental scanner I'm playing with, they are always
recognized, but how they are interpreted depends on an option.  If the
trigraph option is on, they are interpreted as per X3J11.  If the option
is off -- the default -- a warning message is produced and each trigraph
is interpreted as three characters.
