@@ -10350,6 +10350,23 @@ is specified.
1035010350Output warnings falling in @var {category }. @var {category } can be one
1035110351of:
1035210352@table @code
10353+ @item conflicts-sr
10354+ @itemx conflicts-rr
10355+ S/R and R/R conflicts. These warnings are enabled by default. However, if
10356+ the @code {%expect } or @code {%expect-rr } directive is specified, an
10357+ unexpected number of conflicts is an error, and an expected number of
10358+ conflicts is not reported, so @option {-W } and @option {--warning } then have
10359+ no effect on the conflict report.
10360+
10361+ @item deprecated
10362+ Deprecated constructs whose support will be removed in future versions of
10363+ Bison.
10364+
10365+ @item empty-rule
10366+ Empty rules without @code {%empty }. @xref {Empty Rules }. Disabled by
10367+ default, but enabled by uses of @code {%empty }, unless
10368+ @option {-Wno-empty-rule } was specified.
10369+
1035310370@item midrule-values
1035410371Warn about midrule values that are set but not used within any of the actions
1035510372of the parent rule.
@@ -10370,26 +10387,6 @@ These warnings are not enabled by default since they sometimes prove to
1037010387be false alarms in existing grammars employing the Yacc constructs
1037110388@code {$0 } or @code {$- @var {n }} (where @var {n } is some positive integer).
1037210389
10373- @item yacc
10374- Incompatibilities with POSIX Yacc.
10375-
10376- @item conflicts-sr
10377- @itemx conflicts-rr
10378- S/R and R/R conflicts. These warnings are enabled by default. However, if
10379- the @code {%expect } or @code {%expect-rr } directive is specified, an
10380- unexpected number of conflicts is an error, and an expected number of
10381- conflicts is not reported, so @option {-W } and @option {--warning } then have
10382- no effect on the conflict report.
10383-
10384- @item deprecated
10385- Deprecated constructs whose support will be removed in future versions of
10386- Bison.
10387-
10388- @item empty-rule
10389- Empty rules without @code {%empty }. @xref {Empty Rules }. Disabled by
10390- default, but enabled by uses of @code {%empty }, unless
10391- @option {-Wno-empty-rule } was specified.
10392-
1039310390@item precedence
1039410391Useless precedence and associativity directives. Disabled by default.
1039510392
@@ -10451,6 +10448,9 @@ One would get the exact same parser with the following directives instead:
1045110448@end group
1045210449@end example
1045310450
10451+ @item yacc
10452+ Incompatibilities with POSIX Yacc.
10453+
1045410454@item other
1045510455All warnings not categorized above. These warnings are enabled by default.
1045610456
0 commit comments