From: Simon Ruderich Date: Sun, 8 Apr 2012 13:29:35 +0000 (+0200) Subject: Remove duplication when creating %extension. X-Git-Tag: 0.01~33 X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=commitdiff_plain;h=8d44f591b7523f7c13d5b32f1d9b130697a4e301 Remove duplication when creating %extension. --- diff --git a/bin/blhc b/bin/blhc index 0cc2e6a..5adfca6 100755 --- a/bin/blhc +++ b/bin/blhc @@ -129,14 +129,8 @@ my %extensions_compile_cpp = map { $_ => 1 } ( ); my %extension = map { $_ => 1 } ( @source_no_preprocess, - @source_no_preprocess_compile, - @source_no_preprocess_compile_cpp, - @source_no_preprocess_no_compile, @header_preprocess, @source_preprocess, - @source_preprocess_compile, - @source_preprocess_compile_cpp, - @source_preprocess_no_compile, ); # Regexp to match file extensions.