Treat files with .hpp extension as C++.
authorJames Cloos <cloos@jhcloos.com>
Fri, 10 Mar 2017 17:43:24 +0000 (12:43 -0500)
committerJames 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

index df164f2..975b95f 100644 (file)
@@ -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;