diff options
author | Elie De Brauwer <edb@newtec.eu> | 2012-04-11 12:21:24 +0200 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2012-04-11 12:21:24 +0200 |
commit | 3877c0480634e43ea7fbf0a87675d21d093eed93 (patch) | |
tree | 12d6d59695a16dcf407a00aed0223b405391c1d8 | |
parent | d766d8ac26465e9d4dff6de509f35fd63e15b92c (diff) |
Enable VHDL support
Gbp-Pq: Name 60_bts508557_vhdl_support.patch
-rwxr-xr-x | break_filelist | 1 | ||||
-rw-r--r-- | makefile | 1 | ||||
-rw-r--r-- | vhdl_count | 27 |
3 files changed, 29 insertions, 0 deletions
diff --git a/break_filelist b/break_filelist index 40b5808..6fe3270 100755 --- a/break_filelist +++ b/break_filelist @@ -209,6 +209,7 @@ $noisy = 0; # Set to 1 if you want noisy reports. "hs" => "haskell", "lhs" => "haskell", # ???: .pco is Oracle Cobol "jsp" => "jsp", # Java server pages + "vhd" => "vhdl", # VHDL code ); @@ -123,6 +123,7 @@ EXECUTABLES= \ sloccount \ sql_count \ tcl_count \ + vhdl_count \ $(COMPILED_EXECUTABLES) MANPAGES=sloccount.1.gz diff --git a/vhdl_count b/vhdl_count new file mode 100644 index 0000000..5f0f0ba --- /dev/null +++ b/vhdl_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 '--' $@ + |