Add .hpp support for C++
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
parent
40b540d6ae
commit
f32f11f092
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue