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

 
 

bug #50507: add hpp file extension to enscript

Submitted by:  D. Waitzman <dwaitzman>
Submitted on:  Fri 10 Mar 2017 02:45:55 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Cloos <cloos>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 10 Mar 2017 05:48:41 PM UTCcloosStatusNone=>Fixed
      Assigned toNone=>cloos
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1