[29920] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Apr 14 12:14:44 2017

Date: Fri, 14 Apr 2017 12:14:35 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201704141614.v3EGEZQb024140@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/28fd0a934cdc7b3b42ce213c6d334d4edf1ab591
commit 28fd0a934cdc7b3b42ce213c6d334d4edf1ab591
Author: Robbie Harwood <rharwood@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@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;
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post