]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix getdate.y compatability with POSIX yacc 849/head
authorRobbie Harwood <rharwood@redhat.com>
Tue, 25 Sep 2018 17:20:55 +0000 (13:20 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 26 Sep 2018 21:58:37 +0000 (17:58 -0400)
Commit 28fd0a934cdc7b3b42ce213c6d334d4edf1ab591 muted a warning from
bison about shift/reduce conflicts in the grammer.  However, the
extension for suppressing the warning is bison-only.  Revert that
portion of the change and live with the warning rather than adding
additional conditionalization.  Reported by Michael Osipov.

src/kadmin/cli/getdate.y

index cb039acb3022cd909e5fdff1fd8e982cf8b623f2..4f0fac2e3f6618ff065605f57d097d3bb98df8bd 100644 (file)
@@ -176,8 +176,9 @@ static time_t       yyRelSeconds;
 
 %}
 
-/* Mute shift/reduce warning as per header comment. */
-%expect 4
+/* This would mute the shift/reduce warnings as per header comment; however,
+ * it relies on bison extensions. */
+/* %expect 4 */
 
 %union {
     time_t             Number;