bugGNU a2ps - Bugs: bug #65842, new file: sheets/julia.ssh, bug...

 
 

bug #65842: new file: sheets/julia.ssh, bug fix: sheets/ruby.ssh

Submitter:  None
Submitted:  Wed 05 Jun 2024 09:14:28 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 05 Jun 2024 09:14:28 PM UTC, original submission:  

Dear developers,

Thank you for your efforts on development and maintenance of a2ps.

Here, I attached two files.
new file: sheets/julia.ssh
bug fix: sheets/ruby.ssh

You can test them with:
curl https://raw.githubusercontent.com/ruby/ruby/master/lib/resolv.rb | a2ps --prologue=color --pretty-print=ruby -o resolv.rb.ps -
curl https://raw.githubusercontent.com/timothyrenner/RungeKutta.jl/master/src/RungeKutta.jl | a2ps --prologue=color --pretty-print=julia -o RungeKutta.jl.ps -

--- a2ps-4.14/sheets/ruby.ssh    2007-12-29 10:35:15.000000000 +0900
+++ /usr/share/a2ps/sheets/ruby.ssh    2016-09-04 07:08:35.675506024 +0900
@@ -48,8 +48,8 @@
     /^=begin/           Comment_strong        /^=end/,
 
     # Some declarations
-    (/\\(def\\|class\\|module\\)/    # \1. the keyword
-     /\\([[:blank:]]+\\)/        # \2. blanks
+    (/(def|class|module)/    # \1. the keyword
+     /([[:blank:]]+)/        # \2. blanks
      \1 Keyword_strong, \2 Plain) (Label_strong  + Index1)
     closers are
       /$/ Plain,

Sincerely,
-- Takeshi Nishimatsu

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #56139:  julia.ssh added by None (3KiB - application/octet-stream)
file #56140:  ruby.ssh added by None (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2024-06-05 None Attached File- Added julia.ssh, #56139
    Attached File- Added ruby.ssh, #56140

Back to the top

Powered by Savane 3.14-79a4.
Corresponding source code