[Workman-devel] [PATCH] Add syntax-check checking for TABs in .sym files

Josh Poimboeuf jpoimboe at redhat.com
Thu Mar 7 14:51:42 UTC 2013


---
 cfg.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index f739b5e..8b7fcda 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -73,8 +73,8 @@ bracket-spacing-check:
 	$(PERL) $(top_srcdir)/build-aux/bracket-spacing.pl $$files || \
 	  (echo $(ME): incorrect whitespace around brackets, see HACKING for rules && exit 1)
 
-# Ensure that no C source file uses TABs for indentation.
-space_indent_files=(\.[ch])
+# Ensure that no C source or .sym file uses TABs for indentation.
+space_indent_files=(\.([ch]|sym))
 sc_TAB_in_indentation:
 	@prohibit='^ *	'						\
 	in_vc_files='$(space_indent_files)$$'				\
-- 
1.7.11.7




More information about the Workman-devel mailing list