krb5 commit: Mute shift/reduce conflicts in getdate.y

Greg Hudson ghudson at mit.edu
Fri Apr 14 12:14:35 EDT 2017


https://github.com/krb5/krb5/commit/28fd0a934cdc7b3b42ce213c6d334d4edf1ab591
commit 28fd0a934cdc7b3b42ce213c6d334d4edf1ab591
Author: Robbie Harwood <rharwood at redhat.com>
Date:   Thu Apr 6 11:53:53 2017 -0400

    Mute shift/reduce conflicts in getdate.y
    
    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 |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y
index 4f0c56f..4bfae66 100644
--- a/src/kadmin/cli/getdate.y
+++ b/src/kadmin/cli/getdate.y
@@ -6,7 +6,7 @@
 **  <rsalz at bbn.com> and Jim Berets <jberets at 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;


More information about the cvs-krb5 mailing list