Mercurial > emacs
comparison lib-src/etags.c @ 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 | 6fa038c33a0f |
children | cd81dba38a49 |
comparison
equal
deleted
inserted
replaced
7231:e781f7d5ae04 | 7232:25300b83f0dd |
---|---|
781 || streq (cp1, "inc")))/* Microcontroller include files */ | 781 || streq (cp1, "inc")))/* Microcontroller include files */ |
782 { | 782 { |
783 Asm_labels (inf); | 783 Asm_labels (inf); |
784 goto close_and_return; | 784 goto close_and_return; |
785 } | 785 } |
786 /* .C or .H or .cxx or .hxx or .cc: a C++ file */ | 786 /* .C or .H or .cxx or .hxx or .cc or .cpp: a C++ file */ |
787 if (cp && (streq (cp1, "C") | 787 if (cp && (streq (cp1, "C") |
788 || streq (cp1, "H") | 788 || streq (cp1, "H") |
789 || streq (cp1, "cpp") | |
789 || streq (cp1, "cxx") | 790 || streq (cp1, "cxx") |
790 || streq (cp1, "hxx") | 791 || streq (cp1, "hxx") |
791 || streq (cp1, "cc"))) | 792 || streq (cp1, "cc"))) |
792 { | 793 { |
793 C_entries (C_PLPL, inf); /* C++ */ | 794 C_entries (C_PLPL, inf); /* C++ */ |