summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <demaille@gostai.com>2012-02-18 19:25:55 +0100
committerAkim Demaille <demaille@gostai.com>2012-02-18 19:32:19 +0100
commitf483f4f8ecf022e5d15905e4a12d60259285fee8 (patch)
treef5c263765015badd65d45e95dc1e2aac69255071
parentd9b968d8d6d5502122f7b64116c8647c7525d346 (diff)
downloadbison-f483f4f8ecf022e5d15905e4a12d60259285fee8.tar.gz
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.
-rw-r--r--cfg.mk4
-rw-r--r--examples/mfcalc/.gitignore1
-rw-r--r--po/.gitignore2
-rw-r--r--runtime-po/.gitignore2
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
-