diff options
| author | Jan Niklas Hasse <jhasse@bixense.com> | 2022-02-02 18:48:39 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-02 18:48:39 (GMT) |
| commit | 6ed7d54d2ef30a3f55db0e274cf3c4f4dd36fd8d (patch) | |
| tree | 2287ad64d4c129398452304562dfec931bf633ab /src | |
| parent | 41156cd9c97a4e49473c473b7952f8cb7c43c56c (diff) | |
| parent | 1a99b250c9ddb78ada2785b50a969580ef3dd4ee (diff) | |
| download | Ninja-6ed7d54d2ef30a3f55db0e274cf3c4f4dd36fd8d.zip Ninja-6ed7d54d2ef30a3f55db0e274cf3c4f4dd36fd8d.tar.gz Ninja-6ed7d54d2ef30a3f55db0e274cf3c4f4dd36fd8d.tar.bz2 | |
Merge pull request #2074 from gunechristensen/master
Filter lines ending with ".c++" in clparser
Diffstat (limited to 'src')
| -rw-r--r-- | src/clparser.cc | 3 |
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 |
