home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Newsgroups: comp.lang.c
- Subject: Re: Questions about token merging and trigraphs
- Message-ID: <1992Dec20.232755.10703@thunder.mcrcim.mcgill.edu>
- Date: 20 Dec 92 23:27:55 GMT
- References: <42098@pprg.eece.unm.edu.pprg.unm.edu> <1TA04E3@cdis-1.compu.com> <mcdonald.613@aries.scs.uiuc.edu>
- Organization: McGill Research Centre for Intelligent Machines
- Lines: 20
-
- In article <mcdonald.613@aries.scs.uiuc.edu>, mcdonald@aries.scs.uiuc.edu (J. D. McDonald) writes:
- > In article <mcdonald.610@aries.scs.uiuc.edu> mcdonald@aries.scs.uiuc.edu (J. D. McDonald) writes:
-
- >> BECAUSE OF [trigraphs], it is **IMPOSSIBLE** to write code that is
- >> both K&R I and ANSI!!!
-
- Not at all. Just impossible to write code involving a trigraph
- sequence in a string literal.
-
- > I'll retract that statement. It's not impossible, due to the presence
- > of octal escapes in strings
-
- You can't use an octal escape to represent a character without tying
- yourself to the character code (eg, EBCDIC) in question - which is the
- whole point of adding the stupid things in the first place.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-