From: Tim Retout Date: Sun, 3 May 2009 21:47:41 +0000 (+0100) Subject: Handle other common C++ header file extensions. X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=enscript.git;a=commitdiff_plain;h=refs%2Fheads%2Ftopic%2Fsecurity Handle other common C++ header file extensions. --- diff --git a/states/hl/ChangeLog b/states/hl/ChangeLog index 5c4d235..3144685 100644 --- a/states/hl/ChangeLog +++ b/states/hl/ChangeLog @@ -1,3 +1,8 @@ +2009-05-03 Brad Spencer + + * enscript.st (namerules): Handle other common C++ header file + extensions. + 2009-01-25 Tim Retout * javascript.st (Highlight): Add basic handling of regexes. diff --git a/states/hl/enscript.st b/states/hl/enscript.st index 452914f..60c8c0a 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|hpp|cc|hh|cxx|hxx)$/ cpp; /\.m$/ matlab; /\.(mpl|mp|maple)$/ maple; /\.(scm|scheme)$/ scheme;