Thread View: gnu.emacs.bug
1 messages
1 total messages
Started by Ulrich Mueller
Mon, 11 Jan 1993 21:16
Bug in etags for Fortran files?
Author: Ulrich Mueller
Date: Mon, 11 Jan 1993 21:16
Date: Mon, 11 Jan 1993 21:16
25 lines
1333 bytes
1333 bytes
The etags program which comes with the emacs 18.59 distribution
contains the following test in function `find_entries':
/* if not a .c or .h or .y file, try fortran */
if (cp && (cp[1] != 'c' && cp[1] != 'h' && cp[1] != 'y')
&& cp[2] == '\0')
This prevents `.for' files (under VMS) or `.inc' files (I use this
extension for files which I include from `.f' files) from being parsed
for Fortran tokens.
Also, the code does something different from what is explained in the
comment. Probably this should be:
/* if not a .c or .h or .y file, try fortran */
if (cp && !((cp[1] == 'c' || cp[1] == 'h' || cp[1] == 'y')
&& cp[2] == '\0'))
Best regards
--
Ulrich Mueller Email: ulm@vsnhd1.cern.ch
PPE Division ulm@cernvm.bitnet
CERN Phone: +41-22-767-8658
CH-1211 Geneva 23 Fax: +41-22-7850314
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads