diff options
| author | Richard M. Stallman | 1994-04-30 20:30:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-30 20:30:48 +0000 |
| commit | 024a380b5d4d7c424c2a8c42da93c4dba21c7a7b (patch) | |
| tree | 1e03b3022a76d2808338000d0a8a90f9b963bc5f /lib-src | |
| parent | 68afdd56d42977828c21051b44b0c647465878be (diff) | |
| download | emacs-024a380b5d4d7c424c2a8c42da93c4dba21c7a7b.tar.gz emacs-024a380b5d4d7c424c2a8c42da93c4dba21c7a7b.zip | |
(find_entries): Treat `*.cpp' as C++ files.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index bae7e17207a..1ae77e7f2be 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -783,9 +783,10 @@ find_entries (file) | |||
| 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"))) |