From f483f4f8ecf022e5d15905e4a12d60259285fee8 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 18 Feb 2012 19:25:55 +0100 Subject: maint: remove trailing empty lines. * cfg.mk: No longer skip sc_prohibit_empty_lines_at_EOF, except for parse-gram.h (generated). * examples/mfcalc/.gitignore, lib/.gitignore, m4/.gitignore, * po/.gitignore, runtime-po/.gitignore: Remove trailing/leading empty lines. --- cfg.mk | 4 ++-- examples/mfcalc/.gitignore | 1 - po/.gitignore | 2 -- runtime-po/.gitignore | 2 -- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/cfg.mk b/cfg.mk index cc9dbd1b..744fcf00 100644 --- a/cfg.mk +++ b/cfg.mk @@ -42,7 +42,6 @@ local-checks-to-skip = \ sc_prohibit_always_true_header_tests \ sc_prohibit_atoi_atof \ sc_prohibit_doubled_word \ - sc_prohibit_empty_lines_at_EOF \ sc_prohibit_strcmp # The local directory containing the checked-out copy of gnulib used in @@ -59,7 +58,8 @@ update-copyright: update-b4-copyright update-package-copyright-year update-copyright-env = \ UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1 -exclude_file_name_regexp--sc_space_tab = ^tests/(input|c\+\+)\.at$$ +exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^src/parse-gram.h$$ exclude_file_name_regexp--sc_require_config_h_first = \ ^(lib/yyerror|data/(glr|yacc))\.c$$ +exclude_file_name_regexp--sc_space_tab = ^tests/(input|c\+\+)\.at$$ exclude_file_name_regexp--sc_unmarked_diagnostics = ^djgpp/ diff --git a/examples/mfcalc/.gitignore b/examples/mfcalc/.gitignore index 901c3553..e12c56d3 100644 --- a/examples/mfcalc/.gitignore +++ b/examples/mfcalc/.gitignore @@ -8,4 +8,3 @@ /mfcalc.h /mfcalc.stamp /mfcalc.y - diff --git a/po/.gitignore b/po/.gitignore index cb5df535..79594c04 100644 --- a/po/.gitignore +++ b/po/.gitignore @@ -1,4 +1,3 @@ - /*.gmo /*.po /*.po~ @@ -21,4 +20,3 @@ /remove-potcdate.sed /remove-potcdate.sin /stamp-po - diff --git a/runtime-po/.gitignore b/runtime-po/.gitignore index 3b04a58c..44ff8963 100644 --- a/runtime-po/.gitignore +++ b/runtime-po/.gitignore @@ -1,4 +1,3 @@ - /*.gmo /*.po /*.po~ @@ -21,4 +20,3 @@ /remove-potcdate.sed /remove-potcdate.sin /stamp-po - -- cgit v1.2.1