Add .hpp support for C++

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
David A. Wheeler 2021-01-03 13:42:58 -05:00
parent 40b540d6ae
commit f32f11f092
1 changed files with 2 additions and 1 deletions

View File

@ -1461,7 +1461,8 @@ def process_c_file(f, patch_infos):
linenumber = 1
ignoreline = -1
cpplanguage = f.endswith(".cpp") or f.endswith(".cxx") or f.endswith(".cc")
cpplanguage = (f.endswith(".cpp") or f.endswith(".cxx") or f.endswith(".cc")
or f.endswith(".hpp"))
incomment = 0
instring = 0
linebegin = 1