From fe40b679d799a54447a9eecd84a014f5674f1abb Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 18 Feb 2012 19:25:55 +0100 Subject: [PATCH] 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. Conflicts: examples/mfcalc/.gitignore --- cfg.mk | 4 ++-- po/.gitignore | 2 -- runtime-po/.gitignore | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cfg.mk b/cfg.mk index 5659a932..f2e9f0ab 100644 --- a/cfg.mk +++ b/cfg.mk @@ -46,7 +46,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 @@ -63,7 +62,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.[ch]$$ 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/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 - -- 2.47.2