diff options
author | Jim Meyering <meyering@fb.com> | 2014-10-10 22:03:11 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2014-11-30 18:59:35 -0800 |
commit | e48ca0d39c2734330cafb8c6fef4ea7cea56b23e (patch) | |
tree | 5d0becfbc6eaa60774a990ea10e401e2ca383e10 /cfg.mk | |
parent | 8d5fa64778161a6bbccb8a80478849467003cabd (diff) | |
download | sed-e48ca0d39c2734330cafb8c6fef4ea7cea56b23e.tar.gz |
maint: enable sc_prohibit_tab_based_indentation syntax check
* cfg.mk (local-checks-to-skip): Remove its exemption.
Exempt all files under testsuite/, for now, and a few others.
* .gitmodules: Change each leading TAB to 8 spaces spaces.
* BUGS: Likewise.
* NEWS: Likewise.
* configure.ac: Likewise.
* sed/compile.c: Likewise.
* sed/execute.c: Likewise.
* sed/fmt.c: Likewise.
* sed/regexp.c: Likewise.
* sed/sed.c: Likewise.
* sed/sed.h: Likewise.
* sed/utils.c: Likewise.
* sed/utils.h: Likewise.
* COPYING: Update from coreutils.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -33,7 +33,6 @@ local-checks-to-skip = \ sc_prohibit_magic_number_exit \ sc_prohibit_strcmp \ sc_prohibit_strncpy \ - sc_prohibit_tab_based_indentation \ sc_texinfo_acronym \ sc_unmarked_diagnostics \ sc_useless_cpp_parens @@ -63,7 +62,7 @@ export VERBOSE = yes # 836832 6e export XZ_OPT = -6e -old_NEWS_hash = b6210de3e57d22c04f064eb481282e11 +old_NEWS_hash = 4c8b8c2fef372b60da66269683f768d7 # Many m4 macros names once began with 'jm_'. # Make sure that none are inadvertently reintroduced. @@ -137,3 +136,8 @@ exclude_file_name_regexp--sc_program_name = ^testsuite/.*\.c$$ exclude_file_name_regexp--sc_space_tab = ^testsuite/.*$$ exclude_file_name_regexp--sc_prohibit_always_true_header_tests = \ ^configure\.ac$$ + +tbi_1 = (^testsuite/.*|^gl/lib/reg.*\.c\.diff|\.mk|/help2man)$$ +tbi_2 = (GNU)?[Mm]akefile(\.am)?$$ +exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \ + $(tbi_1)|$(tbi_2) |