home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / objectiv / 674 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.1 KB

  1. Xref: sparky comp.lang.objective-c:674 comp.sys.next.programmer:7317
  2. Newsgroups: comp.lang.objective-c,comp.sys.next.programmer
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!scd.hp.com!hpscdm!hpuerca.atl.hp.com!sailer
  4. From: sailer@hpuerca.atl.hp.com (Lee Sailer)
  5. Subject: Re: Seeking Objective-c prettifier
  6. Message-ID: <Bxzns3.ExM@hpuerca.atl.hp.com>
  7. Date: Fri, 20 Nov 1992 00:24:02 GMT
  8. References: <PFKEB.92Nov11203142@kaon.SLAC.Stanford.EDU>
  9. Organization: Hewlett-Packard NARC Atlanta
  10. X-Newsreader: Tin 1.1.3 PL5
  11. Lines: 24
  12.  
  13. : >> "Anyone have or know of an Objective-C prettifier?"
  14. : >> 
  15. : >> man indent. It's actually not too bad...
  16. : >> 
  17. : >> -g
  18. : > Well, it's better than cb, but not much, for one big reason:
  19. : >    BUGS
  20. : >       Indent doesn't accept Objective-C style (//) comments.
  21.  
  22. Another solution would be to write a filter that changes // comments
  23. to /* */ comments.
  24.  
  25. However, on my NeXT, I've never gotton indent to behave properly.  It
  26. always seems to garble some part of the pretty print, even when no //
  27. are involved.
  28.  
  29. Thus, perhaps the final solution is to get the source to indent
  30. and fix it. 8-)
  31.  
  32. lee
  33.  
  34.