Changeset e86b29ecd29f326d653d16d766c50a840c927cc6

Show
Ignore:
Timestamp:
03/24/2008 10:15:57 AM (10 months ago)
Author:
Robin Luckey <robin@Tangier.local>
git-committer:
Robin Luckey <robin@Tangier.local> 1206378957 -0700
git-parent:

[11653d2154f46ac5076effeccc5e8a9db11cbdc8]

git-author:
root <root@linux-laptop.camicom> 1206029707 +0100
Message:

Support for DCL command files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ext/ohcount_native/generator.rb

    r11653d2 re86b29e  
    3131      csharp = CMonoglot.new("csharp",           '//',             [e('/*'), e('*/')], true,  false) 
    3232      css = CMonoglot.new("css",                  nil,             [e('/*'), e('*/')], false,  false) 
     33                        dcl = DclMonoglot.new("dcl") 
    3334      dylan = CMonoglot.new("dylan",             '//',             nil,                true,  false) 
    3435      erlang = CMonoglot.new("erlang",           '%%',             nil,                true,  true) 
     
    7980        csharp , 
    8081        css , 
     82                                dcl, 
    8183        dylan , 
    8284        erlang , 
  • lib/ohcount/detector.rb

    r11653d2 re86b29e  
    115115    '.c++'  => "cpp", 
    116116    '.cxx'  => "cpp", 
     117                '.com'  => "dcl", 
    117118    '.el'   => "emacslisp", 
    118119    #   '.cbl'  => "cobol", 
  • lib/ohcount/sloc_info.rb

    r11653d2 re86b29e  
    5050      'csharp'        => {:nice_name => 'C#'               , :category => 0}, 
    5151      'css'           => {:nice_name => 'CSS'              , :category => 1}, 
     52                        'dcl'           => {:nice_name => 'DCL'              , :category => 0}, 
    5253      'dylan'         => {:nice_name => 'Dylan'            , :category => 0}, 
    5354      'emacslisp'     => {:nice_name => 'Emacs Lisp'       , :category => 0},