diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-10-05 01:07:52 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-10-05 01:19:39 -0700 |
commit | b75b05528803de1582d7bcfbd3480ee70a0e987b (patch) | |
tree | 0a0ac8197969ed8680e6221fd6771623388af2f0 /src/getargs.c | |
parent | 41e84cddc778d2a8902b1cdff6a85f3ea3422512 (diff) | |
download | bison-b75b05528803de1582d7bcfbd3480ee70a0e987b.tar.gz |
Port ARGMATCH_DEFINE_GROUP calls to C99
* src/complain.c, src/getargs.c: Omit ‘;’ after call
to ARGMATCH_DEFINE_GROUP, as C99 does not allow ‘;’ there.
Diffstat (limited to 'src/getargs.c')
-rw-r--r-- | src/getargs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/getargs.c b/src/getargs.c index 68894633..8c66c925 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -166,7 +166,7 @@ enum color color_auto }; -ARGMATCH_DEFINE_GROUP(color, enum color); +ARGMATCH_DEFINE_GROUP(color, enum color) static const argmatch_color_doc argmatch_color_docs[] = { @@ -202,7 +202,7 @@ const argmatch_color_group_type argmatch_color_group = | --report's handling. | `----------------------*/ -ARGMATCH_DEFINE_GROUP(report, enum report); +ARGMATCH_DEFINE_GROUP(report, enum report) static const argmatch_report_doc argmatch_report_docs[] = { @@ -240,7 +240,7 @@ const argmatch_report_group_type argmatch_report_group = | --trace's handling. | `---------------------*/ -ARGMATCH_DEFINE_GROUP(trace, enum trace); +ARGMATCH_DEFINE_GROUP(trace, enum trace) static const argmatch_trace_doc argmatch_trace_docs[] = { @@ -299,7 +299,7 @@ const argmatch_trace_group_type argmatch_trace_group = | --feature's handling. | `-----------------------*/ -ARGMATCH_DEFINE_GROUP(feature, enum feature); +ARGMATCH_DEFINE_GROUP(feature, enum feature) static const argmatch_feature_doc argmatch_feature_docs[] = { |