Handle other common C++ header file extensions. topic/security
authorTim Retout <diocles@gnu.org>
Sun, 3 May 2009 21:47:41 +0000 (22:47 +0100)
committerTim Retout <diocles@gnu.org>
Sun, 3 May 2009 21:47:41 +0000 (22:47 +0100)
states/hl/ChangeLog
states/hl/enscript.st

index 5c4d235..3144685 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-03  Brad Spencer  <spencer@starscale.com>
+
+       * enscript.st (namerules): Handle other common C++ header file
+       extensions.
+
 2009-01-25  Tim Retout  <diocles@gnu.org>
 
        * javascript.st (Highlight): Add basic handling of regexes.
index 452914f..60c8c0a 100644 (file)
@@ -468,7 +468,7 @@ start
 namerules
 {
   /\.(c|h)$/                                   c;
-  /\.(c++|C|H|cpp|cc|cxx)$/                    cpp;
+  /\.(c++|C|H|cpp|hpp|cc|hh|cxx|hxx)$/         cpp;
   /\.m$/                                       matlab;
   /\.(mpl|mp|maple)$/                          maple;
   /\.(scm|scheme)$/                            scheme;