krb5 commit: Fix token and type declarations in getdate.y

Greg Hudson <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.cvs
Message-ID <[email protected]>
https://github.com/krb5/krb5/commit/d3356bc42191c1896ab06835a2fb245e00471420
commit d3356bc42191c1896ab06835a2fb245e00471420
Author: Greg Hudson <[email protected]>
Date:   Tue Jul 21 01:41:21 2020 -0400

    Fix token and type declarations in getdate.y
    
    Bison 3.5 adds a POSIX yacc compliance warning that %type should only
    be applied to non-terminals.  Use %token for terminals in getdate.y.
    Reported by Norm Green.
    
    ticket: 8927

 src/kadmin/cli/getdate.y |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y
index 4f0fac2..2b8dbcd 100644
--- a/src/kadmin/cli/getdate.y
+++ b/src/kadmin/cli/getdate.y
@@ -185,12 +185,10 @@ static time_t	yyRelSeconds;
     enum _MERIDIAN	Meridian;
 }
 
-%token	tAGO tDAY tDAYZONE tID tMERIDIAN tMINUTE_UNIT tMONTH tMONTH_UNIT
-%token	tSEC_UNIT tSNUMBER tUNUMBER tZONE tDST tNEVER
-
-%type	<Number>	tDAY tDAYZONE tMINUTE_UNIT tMONTH tMONTH_UNIT
-%type	<Number>	tSEC_UNIT tSNUMBER tUNUMBER tZONE
-%type	<Meridian>	tMERIDIAN o_merid
+%token			tAGO tID tDST tNEVER
+%token	<Number>	tDAY tDAYZONE tMINUTE_UNIT tMONTH tMONTH_UNIT
+%token	<Number>	tSEC_UNIT tSNUMBER tUNUMBER tZONE tMERIDIAN
+%type	<Meridian>	o_merid
 
 %%
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.