From af89c2ad63ca63befc630adfa0819214ddd99e66 Mon Sep 17 00:00:00 2001 From: James Cloos Date: Fri, 10 Mar 2017 12:43:24 -0500 Subject: [PATCH] Treat files with .hpp extension as C++. 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 . Signed-off-by: James Cloos --- states/hl/enscript.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states/hl/enscript.st b/states/hl/enscript.st index df164f2..975b95f 100644 --- 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; -- 2.17.1