Fix for feature request: [ 2485706 ] Add support to *.C file extension
This commit is contained in:
parent
de60f3b9ad
commit
0c06d757cc
|
@ -20,6 +20,8 @@
|
|||
#include <sstream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <cctype>
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#include <glob.h>
|
||||
|
@ -91,6 +93,7 @@ bool FileLister::AcceptFile( const std::string &filename )
|
|||
return false;
|
||||
|
||||
std::string extension = filename.substr( dotLocation );
|
||||
std::transform( extension.begin(), extension.end(), extension.begin(), tolower );
|
||||
|
||||
if( extension == ".cpp" ||
|
||||
extension == ".cxx" ||
|
||||
|
|
Loading…
Reference in New Issue