changeset 7232:25300b83f0dd

(find_entries): Treat `*.cpp' as C++ files.
author Richard M. Stallman <rms@gnu.org>
date Sat, 30 Apr 1994 20:30:48 +0000
parents e781f7d5ae04
children da74d15b3571
files lib-src/etags.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Sat Apr 30 20:28:50 1994 +0000
+++ b/lib-src/etags.c	Sat Apr 30 20:30:48 1994 +0000
@@ -783,9 +783,10 @@
       Asm_labels (inf);
       goto close_and_return;
     }
-  /* .C or .H or .cxx or .hxx or .cc: a C++ file */
+  /* .C or .H or .cxx or .hxx or .cc or .cpp: a C++ file */
   if (cp && (streq (cp1, "C")
 	     || streq (cp1, "H")
+	     || streq (cp1, "cpp")
 	     || streq (cp1, "cxx")
 	     || streq (cp1, "hxx")
 	     || streq (cp1, "cc")))