home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / emacs / 3038 < prev    next >
Encoding:
Text File  |  1992-09-07  |  1.1 KB  |  56 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!gatech!cc.gatech.edu!news
  3. From: harold@cc.gatech.edu (Harold C. Forbes)
  4. Subject: problem with etags on typedef struct
  5. Message-ID: <1992Sep5.144451.1026@cc.gatech.edu>
  6. Keywords: etags
  7. Sender: news@cc.gatech.edu
  8. Organization: Georgia Institute of Technology
  9. Date: Sat, 5 Sep 1992 14:44:51 GMT
  10. Lines: 44
  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. Can anyone help me with this?
  47.  
  48. Many thanks.
  49.     harold
  50.  
  51.  
  52. FORBES, HAROLD C.   N5JCM
  53. Georgia Institute of Technology, Atlanta Georgia, 30332
  54. uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!cc!harold
  55. ARPA: harold@cc.gatech.edu               PACKET: N5JCM @ W4QO
  56.