]> git.eshelyaron.com Git - emacs.git/commitdiff
(find_entries): Treat `*.cpp' as C++ files.
authorRichard M. Stallman <rms@gnu.org>
Sat, 30 Apr 1994 20:30:48 +0000 (20:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 30 Apr 1994 20:30:48 +0000 (20:30 +0000)
lib-src/etags.c

index bae7e17207acef611aabf88554eb56f5746f2cc7..1ae77e7f2bef2a3213accd2e161b0d0a2e0852b3 100644 (file)
@@ -783,9 +783,10 @@ find_entries (file)
       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")))