Treat files with .hpp extension as C++. - enscript - GNU Enscript
 (HTM) git clone git://thinkerwim.org/enscript.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit af89c2ad63ca63befc630adfa0819214ddd99e66
 (DIR) parent 0204769eafc1c9a4b24f9ef3974bb55fb4fd2a97
 (HTM) Author: James Cloos <cloos@jhcloos.com>
       Date:   Fri, 10 Mar 2017 12:43:24 -0500
       
       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 <dwaitzman@gmail.com>.
       
       Signed-off-by: James Cloos <cloos@jhcloos.com>
       
       Diffstat:
         M states/hl/enscript.st               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git 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;