Package: sloccount Version: 2.26-2.1 Severity: wishlist Tags: patch
Please add support for erlang. cu, michael -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (991, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.23-grml64 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.iso885915, LC_CTYPE=en_US.iso885915 (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages sloccount depends on: ii libc6 2.7-3 GNU C Library: Shared libraries ii perl 5.8.8-12 Larry Wall's Practical Extraction sloccount recommends no packages. -- no debconf information
diff --git a/break_filelist b/break_filelist index 7df41ab..86d0e74 100755 --- a/break_filelist +++ b/break_filelist @@ -166,6 +166,7 @@ $noisy = 0; # Set to 1 if you want noisy reports. # can be separated. "h" => "h", "H" => "h", "hpp" => "h", "hh" => "h", "ada" => "ada", "adb" => "ada", "ads" => "ada", + "erl" => "erlang", "pad" => "ada", # Oracle Ada preprocessor. "f" => "fortran", "F" => "fortran", # This catches "wokka.F" as Fortran. # Warning: "Freeze" format also uses .f. Haven't heard of problems, diff --git a/erlang_count b/erlang_count new file mode 100755 index 0000000..9d840ec --- /dev/null +++ b/erlang_count @@ -0,0 +1,27 @@ +#!/bin/sh +# +# This is part of SLOCCount, a toolsuite that counts +# source lines of code (SLOC). +# Copyright (C) 2001-2004 David A. Wheeler. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# To contact David A. Wheeler, see his website at: +# http://www.dwheeler.com. +# +# + +generic_count '%' $@ +

