home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13586 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.7 KB  |  44 lines

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!ira.uka.de!smurf.sub.org!nadia!ncc1701.stgt.sub.org!ncc1701!space
  2. From: space@ncc1701.stgt.sub.org (Lars Soltau)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: what does 8-bit clean mean ?
  5. Date: 18 Nov 92 09:30:01 GMT
  6. Organization: United Federation of Planets
  7. Lines: 28
  8. Distribution: world
  9. Message-ID: <SPACE.92Nov18113002@ncc1701.stgt.sub.org>
  10. References: <1e8u74INNc75@function.mps.ohio-state.edu>
  11. NNTP-Posting-Host: ncc1701.stgt.sub.org
  12. Content-Type: text/plain; charset=iso-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. In-reply-to: ren@function.mps.ohio-state.edu's message of 16 Nov 1992 14:53:08 -0500
  15.  
  16. >>>>> On 16 Nov 1992 14:53:08 -0500,
  17.  ren@function.mps.ohio-state.edu (Liming Ren) said:
  18.  
  19. > Somewhere I read that the C-compiler cc is not 8-bit clean. I am not sure
  20. > what It means?
  21.  
  22. It means that the C compiler can't handle 8bit identifiers, e.g.
  23. NasenbΣr (you might see the Σ on the left as v or \344, depending on
  24. your configuration). Most C compilers can handle 8bit characters in
  25. strings and comments, though.
  26.  
  27. > Also from the manpage of lex in UNIX, it says:
  28.  
  29. >      The lex command is  not  changed  to  support  8-bit  symbol
  30. >      names,  as  this  would  produce lex source code that is not
  31. >      portable between systems.
  32.  
  33. > Does this mean that lex can only be used for lexical analysis of text
  34. > of ascii code 0-127? 
  35.  
  36. I don't know about lex, but flex has an option for exactly that, i.e.
  37. producing an 8bit scanner. The comment above only refers to identifiers,
  38. not the input text.
  39. --
  40. Lars Soltau    bang: <insert ridiculously long path>        BIX: -- no bucks --
  41.         smart: space@ncc1701.stgt.sub.org
  42.  
  43. Will kein Gott auf Erden sein, sind wir selber Goetter.
  44.