summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2022-02-02 19:48:39 +0100
committerGitHub <noreply@github.com>2022-02-02 19:48:39 +0100
commit6ed7d54d2ef30a3f55db0e274cf3c4f4dd36fd8d (patch)
tree2287ad64d4c129398452304562dfec931bf633ab
parent41156cd9c97a4e49473c473b7952f8cb7c43c56c (diff)
parent1a99b250c9ddb78ada2785b50a969580ef3dd4ee (diff)
downloadninja-6ed7d54d2ef30a3f55db0e274cf3c4f4dd36fd8d.tar.gz
Merge pull request #2074 from gunechristensen/master
Filter lines ending with ".c++" in clparser
-rw-r--r--src/clparser.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clparser.cc b/src/clparser.cc
index 070bcfd..3d3e7de 100644
--- a/src/clparser.cc
+++ b/src/clparser.cc
@@ -72,7 +72,8 @@ bool CLParser::FilterInputFilename(string line) {
return EndsWith(line, ".c") ||
EndsWith(line, ".cc") ||
EndsWith(line, ".cxx") ||
- EndsWith(line, ".cpp");
+ EndsWith(line, ".cpp") ||
+ EndsWith(line, ".c++");
}
// static