Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: trigraphs in X3J11
Message-ID: <1988May27.172209.15003@utzoo.uucp>
Organization: U of Toronto Zoology
References: <5215@ico.ISC.COM> <7937@brl-smoke.ARPA> <5424@ico.ISC.COM>, <343@n3dmc.UUCP>
Date: Fri, 27 May 88 17:22:09 GMT

> [warning of trigraphs]  Restricting the check to literal strings might
> be worthwhile...

Practical but a bit of a nuisance.  Ideally one would like to use the
same code for the checking and (if enabled) the actual interpretation
of trigraphs.  This is almost impossible to do if one wants to be
selective about issuing warnings, because trigraph interpretation is
defined to happen at a time when you don't even know whether you're
inside a comment or not, never mind what kind of token you're examining.
-- 
"For perfect safety... sit on a fence|  Henry Spencer @ U of Toronto Zoology
and watch the birds." --Wilbur Wright| {ihnp4,decvax,uunet!mnetor}!utzoo!henry
