changeset 44607:8f3420af28a8

* etags.c (get_language_from_filename): Add one argument. (strcaseeq): New function. (get_language_from_filename): Use it to do a case insenstitive comparison if called with appropriate args. (find_entries): Try with case insensitive match. (process_file): Bug fixed.
author Francesco Potortì <pot@gnu.org>
date Mon, 15 Apr 2002 16:04:52 +0000
parents e0e4003c58d9
children 74f2f6095fa9
files lib-src/etags.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Mon Apr 15 16:04:29 2002 +0000
+++ b/lib-src/etags.c	Mon Apr 15 16:04:52 2002 +0000
@@ -33,7 +33,7 @@
  *	Francesco Potort́ <pot@gnu.org> has maintained it since 1993.
  */
 
-char pot_etags_version[] = "@(#) pot revision number is 15.10";
+char pot_etags_version[] = "@(#) pot revision number is 15.13";
 
 #define	TRUE	1
 #define	FALSE	0
@@ -1634,7 +1634,7 @@
      which is unlikely. */
   if (parser == NULL)
     rewind (inf);
-#if 0
+
   /* Else try to guess the language given the case insensitive file name. */
   if (parser == NULL)
     {
@@ -1645,7 +1645,7 @@
 	  parser = lang->function;
 	}
     }
-#endif
+
   if (!no_line_directive
       && curfdp->lang != NULL && curfdp->lang->metasource)
     /* It may be that this is a bingo.y file, and we already parsed a bingo.c