bugGNU Enscript - Bugs: bug #50507, add hpp file extension to enscript

 
 

bug #50507: add hpp file extension to enscript

Submitter:  D. Waitzman <dwaitzman>
Submitted:  Fri 10 Mar 2017 02:45:55 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  cloos
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 10 Mar 2017 05:48:41 PM UTC, comment #1: 

Patch (with the hpp at the end of the list) pushed as af89c2ad63ca63befc630adfa0819214ddd99e66.

James Cloos <cloos>
Group administrator
Fri 10 Mar 2017 02:45:55 PM UTC, original submission:  

I have c++ header files with the .hpp suffix.  Need to patch enscript.st to recognize that.

Diff:
* ./enscript-1.6.6/states/hl/enscript.st Sun Oct 30 12:48:42 2011
--- ./enscript.st Fri Mar 10 09:38:12 2017
*************
* 468,474 **
  namerules
  {
    /\.(c|h)$/ c;
!   /\.(c++|C|H|cpp|cc|cxx)$/ cpp;
    /\.m$/ matlab;
    /\.(mpl|mp|maple)$/ maple;
    /\.(scm|scheme)$/ scheme;
--- 468,474 ----
  namerules
  {
    /\.(c|h)$/ c;
!   /\.(c++|C|H|hpp|cpp|cc|cxx)$/ cpp;
    /\.m$/ matlab;
    /\.(mpl|mp|maple)$/ maple;
    /\.(scm|scheme)$/ scheme;

D. Waitzman <dwaitzman>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cloos (Posted a comment)
  • -email is unavailable- added by dwaitzman (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-10 cloos StatusNone Fixed
        Assigned toNone cloos
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code