Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: mod.std.c Digest Volume 4 : Issue 14 Message-ID: <5253@utzoo.UUCP> Date: Fri, 15-Mar-85 13:15:52 EST Article-I.D.: utzoo.5253 Posted: Fri Mar 15 13:15:52 1985 Date-Received: Fri, 15-Mar-85 13:15:52 EST References: <9178@brl-tgr.ARPA> Organization: U of Toronto Zoology Lines: 19 > |My personal view is that the > |occurrence of trigraph escapes in the same file as non-ISO characters > |(i.e., stuff written both ways) should be cause for an error message. > |This would at least simplify conversion. > > It may be a blind spot on my part, but how is the compiler to know > that > "?? ... \" > is not really, > "?? ... ", > which ought to be permissible? The compiler has to know what character code its input is using, so it already knows whether an octal 0134 is a backslash or something else. The situation in which I propose an error message can arise only in an ASCII compiler. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry