]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Remove duplication when creating %extension.
authorSimon Ruderich <simon@ruderich.org>
Sun, 8 Apr 2012 13:29:35 +0000 (15:29 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 8 Apr 2012 13:29:35 +0000 (15:29 +0200)
bin/blhc

index 0cc2e6a21f5a2f37d26ec1af2cb72c593bd31df0..5adfca6c13ea2d28d7e3c43c3a61d43c8530e443 100755 (executable)
--- 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.