home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / emacs / bug / 1630 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.3 KB

  1. Xref: sparky gnu.emacs.bug:1630 gnu.utils.bug:2373
  2. Date: Mon, 11 Jan 93 22:16:04 +0100
  3. From: ulm@vsnhd2.cern.ch (Ulrich Mueller)
  4. Message-ID: <9301112116.AA01059@vsnhd2.cern.ch>
  5. To: bug-gnu-emacs@prep.ai.mit.edu, bug-gnu-utils@prep.ai.mit.edu
  6. Subject: Bug in etags for Fortran files?
  7. Distribution: world
  8. Approved: info-gnu@prep.ai.mit.edu
  9. Path: sparky!uunet!think.com!mintaka.lcs.mit.edu!ai-lab!prep.ai.mit.edu!gnulists
  10. Newsgroups: gnu.emacs.bug,gnu.utils.bug
  11. Followup-To: gnu.emacs.bug
  12. Lines: 26
  13.  
  14. The etags program which comes with the emacs 18.59 distribution
  15. contains the following test in function `find_entries':
  16.  
  17.   /* if not a .c or .h or .y file, try fortran */
  18.   if (cp && (cp[1] != 'c' && cp[1] != 'h' && cp[1] != 'y')
  19.       && cp[2] == '\0')
  20.  
  21. This prevents `.for' files (under VMS) or `.inc' files (I use this
  22. extension for files which I include from `.f' files) from being parsed
  23. for Fortran tokens.
  24.  
  25. Also, the code does something different from what is explained in the
  26. comment. Probably this should be:
  27.  
  28.   /* if not a .c or .h or .y file, try fortran */
  29.   if (cp && !((cp[1] == 'c' || cp[1] == 'h' || cp[1] == 'y')
  30.           && cp[2] == '\0'))
  31.  
  32. Best regards
  33.  
  34. --
  35. Ulrich Mueller      Email: ulm@vsnhd1.cern.ch
  36. PPE Division               ulm@cernvm.bitnet
  37. CERN                Phone: +41-22-767-8658
  38. CH-1211 Geneva 23   Fax:   +41-22-7850314
  39.  
  40.