Mute shift/reduce conflicts in getdate.y
authorRobbie Harwood <rharwood@redhat.com>
Thu, 6 Apr 2017 15:53:53 +0000 (11:53 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 14 Apr 2017 16:02:50 +0000 (12:02 -0400)
These are harmess in a parser of this type.  Also correct header comment on
the number that occur (four, not nine).

src/kadmin/cli/getdate.y

index 4f0c56f7eb20e614ff6e31d903fecc74fcfd0d57..4bfae66f3c851f0c6a6ce62d1b72763907027fc4 100644 (file)
@@ -6,7 +6,7 @@
 **  <rsalz@bbn.com> and Jim Berets <jberets@bbn.com> in August, 1990;
 **  send any email to Rich.
 **
-**  This grammar has nine shift/reduce conflicts.
+**  This grammar has four shift/reduce conflicts.
 **
 **  This code is in the public domain and has no copyright.
 */
@@ -176,6 +176,9 @@ static time_t       yyRelSeconds;
 
 %}
 
+/* Mute shift/reduce warning as per header comment. */
+%expect 4
+
 %union {
     time_t             Number;
     enum _MERIDIAN     Meridian;