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:
parent
130ee2e521
commit
ed8a7b2a98
|
@ -1437,7 +1437,8 @@ def display_header():
|
||||||
c_extensions = { '.c' : 1, '.h' : 1,
|
c_extensions = { '.c' : 1, '.h' : 1,
|
||||||
'.ec': 1, '.ecp': 1, # Informix embedded C.
|
'.ec': 1, '.ecp': 1, # Informix embedded C.
|
||||||
'.pgc': 1, # Postgres 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++
|
'.pcc': 1, # Oracle C++
|
||||||
'.hpp': 1, '.H' : 1, # .h - usually C++.
|
'.hpp': 1, '.H' : 1, # .h - usually C++.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue