]> git.saurik.com Git - bison.git/commitdiff
maint: remove trailing empty lines.
authorAkim Demaille <demaille@gostai.com>
Sat, 18 Feb 2012 18:25:55 +0000 (19:25 +0100)
committerAkim Demaille <demaille@gostai.com>
Sun, 19 Feb 2012 09:21:29 +0000 (10:21 +0100)
* 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
po/.gitignore
runtime-po/.gitignore

diff --git a/cfg.mk b/cfg.mk
index 5659a932c0cb1a659bd74aadcb9ba945a880df20..f2e9f0ab17ecc5aeaf1f8c90787a15733d099f81 100644 (file)
--- 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/
index cb5df5358fad9bf2613357e630e06ff836cd53b6..79594c04304c4a8b5f5545c7fdd7b3302fccbd77 100644 (file)
@@ -1,4 +1,3 @@
-
 /*.gmo
 /*.po
 /*.po~
@@ -21,4 +20,3 @@
 /remove-potcdate.sed
 /remove-potcdate.sin
 /stamp-po
-
index 3b04a58cf2526272a446813d95d2915d617432e2..44ff89631ff95a91c769e6eb4bd7f8d72a90ef14 100644 (file)
@@ -1,4 +1,3 @@
-
 /*.gmo
 /*.po
 /*.po~
@@ -21,4 +20,3 @@
 /remove-potcdate.sed
 /remove-potcdate.sin
 /stamp-po
-