git@sv
/
enscript.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0204769
)
Treat files with .hpp extension as C++.
author
James Cloos
<cloos@jhcloos.com>
Fri, 10 Mar 2017 17:43:24 +0000
(12:43 -0500)
committer
James Cloos
<cloos@jhcloos.com>
Fri, 10 Mar 2017 17:43:24 +0000
(12:43 -0500)
Just like those ending with .C, .H, .cpp, .cc, .cxx or .c++.
Fixes https://savannah.gnu.org/bugs/?50507.
Based on patch by D. Waitzman <dwaitzman@gmail.com>.
Signed-off-by: James Cloos <cloos@jhcloos.com>
states/hl/enscript.st
patch
|
blob
|
history
diff --git
a/states/hl/enscript.st
b/states/hl/enscript.st
index df164f2109da9ca89016590a4f3205b1bb16088d..975b95f7b3d4e5a62b214deadc627cc8dcecf3d8 100644
(file)
--- a/
states/hl/enscript.st
+++ b/
states/hl/enscript.st
@@
-468,7
+468,7
@@
start
namerules
{
/\.(c|h)$/ c;
- /\.(c++|C|H|cpp|cc|cxx
)$/
cpp;
+ /\.(c++|C|H|cpp|cc|cxx
|hpp)$/
cpp;
/\.m$/ matlab;
/\.(mpl|mp|maple)$/ maple;
/\.(scm|scheme)$/ scheme;