Permit .c++ as a C++ extension

git-svn-id: svn+ssh://svn.code.sf.net/p/flawfinder/code/trunk@12 5c01084b-1f27-0410-9f85-80411afe95dc
This commit is contained in:
dwheeler 2007-01-16 23:07:27 +00:00
parent 130ee2e521
commit ed8a7b2a98
1 changed files with 2 additions and 1 deletions

View File

@ -1437,7 +1437,8 @@ def display_header():
c_extensions = { '.c' : 1, '.h' : 1,
'.ec': 1, '.ecp': 1, # Informix embedded C.
'.pgc': 1, # Postgres embedded C.
'.C': 1, '.cpp': 1, '.CPP': 1, '.cxx': 1, '.cc': 1, '.CC' : 1, # C++.
'.C': 1, '.cpp': 1, '.CPP': 1, '.cxx': 1, '.cc': 1, # C++
'.CC' : 1, '.c++' :1, # C++.
'.pcc': 1, # Oracle C++
'.hpp': 1, '.H' : 1, # .h - usually C++.
}