home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / help / 3983 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.1 KB

  1. Path: sparky!uunet!usc!cs.utexas.edu!swrinde!gatech!cc.gatech.edu!news
  2. From: harold@cc.gatech.edu (Harold C. Forbes)
  3. Newsgroups: gnu.emacs.help
  4. Subject: etags -t bug on typedef struct ?
  5. Summary: Is there fix?
  6. Message-ID: <1992Sep3.145838.1131@cc.gatech.edu>
  7. Date: 3 Sep 92 14:58:38 GMT
  8. Sender: news@cc.gatech.edu
  9. Organization: Georgia Institute of Technology
  10. Lines: 43
  11.  
  12. Sometimes etags -t doesn't catch the identifier in typedef struct
  13. definitions. vis:
  14.  
  15. In one file:
  16.  
  17. typedef struct {
  18. . . .
  19. } OFFER;
  20.  
  21. produces the TAGS entry:
  22.  
  23. } OFFER;24,606
  24.  
  25. but in another file:
  26.  
  27. typedef struct task_lock{
  28. . . .
  29. }  * task_lock_t;
  30.  
  31. produces:
  32.  
  33. } 145,4835
  34.  
  35. and in yet another file:
  36.  
  37. typedef struct p_list_item_i {
  38. . . .
  39. } p_list_item, *p_list_item_t;
  40.  
  41. doesn't produce an entry at all!
  42.  
  43. Also I get LOTS of #define entries with no identifiers for unparameterized
  44. macros.  Also extern, and typedef unsigned char don't get identifiers.
  45.  
  46. Does anyone have a fix?
  47.  
  48. Many thanks.
  49.     harold
  50.  
  51. FORBES, HAROLD C.   N5JCM
  52. Georgia Institute of Technology, Atlanta Georgia, 30332
  53. uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!cc!harold
  54. ARPA: harold@cc.gatech.edu               PACKET: N5JCM @ W4QO
  55.