home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18721 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.3 KB

  1. 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
  2. From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Questions about token merging and trigraphs
  5. Message-ID: <1992Dec20.232755.10703@thunder.mcrcim.mcgill.edu>
  6. Date: 20 Dec 92 23:27:55 GMT
  7. References: <42098@pprg.eece.unm.edu.pprg.unm.edu> <1TA04E3@cdis-1.compu.com> <mcdonald.613@aries.scs.uiuc.edu>
  8. Organization: McGill Research Centre for Intelligent Machines
  9. Lines: 20
  10.  
  11. In article <mcdonald.613@aries.scs.uiuc.edu>, mcdonald@aries.scs.uiuc.edu (J. D. McDonald) writes:
  12. > In article <mcdonald.610@aries.scs.uiuc.edu> mcdonald@aries.scs.uiuc.edu (J. D. McDonald) writes:
  13.  
  14. >> BECAUSE OF [trigraphs], it is **IMPOSSIBLE** to write code that is
  15. >> both K&R I and ANSI!!!
  16.  
  17. Not at all.  Just impossible to write code involving a trigraph
  18. sequence in a string literal.
  19.  
  20. > I'll retract that statement. It's not impossible, due to the presence
  21. > of octal escapes in strings
  22.  
  23. You can't use an octal escape to represent a character without tying
  24. yourself to the character code (eg, EBCDIC) in question - which is the
  25. whole point of adding the stupid things in the first place.
  26.  
  27.                     der Mouse
  28.  
  29.                 mouse@larry.mcrcim.mcgill.edu
  30.