style: pacify syntax-check

* doc/.gitignore, src/complain.c, src/getargs.c,
* src/output.c: here.
This commit is contained in:
Akim Demaille
2019-10-22 10:26:56 +02:00
parent ec64a0bc7e
commit 048730c691
5 changed files with 9 additions and 8 deletions

2
doc/.gitignore vendored
View File

@@ -32,4 +32,4 @@
/yacc.1 /yacc.1
/relocatable.texi /relocatable.texi
/figs/*.eps /figs/*.eps
/figs/*.svg /figs/*.svg

2
gnulib

Submodule gnulib updated: ac7fd66617...fffc876545

View File

@@ -107,7 +107,7 @@ flush (FILE *out)
| --warnings's handling. | | --warnings's handling. |
`------------------------*/ `------------------------*/
ARGMATCH_DEFINE_GROUP(warning, warnings) ARGMATCH_DEFINE_GROUP (warning, warnings)
static const argmatch_warning_doc argmatch_warning_docs[] = static const argmatch_warning_doc argmatch_warning_docs[] =
{ {

View File

@@ -166,7 +166,7 @@ enum color
color_auto color_auto
}; };
ARGMATCH_DEFINE_GROUP(color, enum color) ARGMATCH_DEFINE_GROUP (color, enum color)
static const argmatch_color_doc argmatch_color_docs[] = static const argmatch_color_doc argmatch_color_docs[] =
{ {
@@ -202,7 +202,7 @@ const argmatch_color_group_type argmatch_color_group =
| --report's handling. | | --report's handling. |
`----------------------*/ `----------------------*/
ARGMATCH_DEFINE_GROUP(report, enum report) ARGMATCH_DEFINE_GROUP (report, enum report)
static const argmatch_report_doc argmatch_report_docs[] = static const argmatch_report_doc argmatch_report_docs[] =
{ {
@@ -240,7 +240,7 @@ const argmatch_report_group_type argmatch_report_group =
| --trace's handling. | | --trace's handling. |
`---------------------*/ `---------------------*/
ARGMATCH_DEFINE_GROUP(trace, enum trace) ARGMATCH_DEFINE_GROUP (trace, enum trace)
static const argmatch_trace_doc argmatch_trace_docs[] = static const argmatch_trace_doc argmatch_trace_docs[] =
{ {
@@ -299,7 +299,7 @@ const argmatch_trace_group_type argmatch_trace_group =
| --feature's handling. | | --feature's handling. |
`-----------------------*/ `-----------------------*/
ARGMATCH_DEFINE_GROUP(feature, enum feature) ARGMATCH_DEFINE_GROUP (feature, enum feature)
static const argmatch_feature_doc argmatch_feature_docs[] = static const argmatch_feature_doc argmatch_feature_docs[] =
{ {

View File

@@ -369,7 +369,8 @@ user_actions_output (FILE *out)
for (rule_number r = 0; r < nrules; ++r) for (rule_number r = 0; r < nrules; ++r)
if (rules[r].action) if (rules[r].action)
{ {
fprintf (out, "%s(%d, [", /* The useless "" is there to pacify syntax-check. */
fprintf (out, "%s""(%d, [",
rules[r].is_predicate ? "b4_predicate_case" : "b4_case", rules[r].is_predicate ? "b4_predicate_case" : "b4_case",
r + 1); r + 1);
if (!no_lines_flag) if (!no_lines_flag)