[krbdev.mit.edu #7923] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Sun Jun 1 00:40:21 EDT 2014


Make x-deltat.y work with bison 3

Bison 3 removed support for YYPARSE_PARAM and YYLEX_PARAM, breaking
x-deltat.y.  Use %parse-param and %lex-param instead.  (In Bison 3 we
could use just %param, but that doesn't work in 2.x.)  The parameter
added by %parse-param is also passed to yyerror, so adjust the macro
we use to suppress yyerror accordingly.

Also use "%define api.pure" instead of "%pure_parser", which was
deprecated in bison 2.3b.  (The correct spelling was actually
"%pure-parser", and bison 3 generates a warning about the underscore
spelling.)

Regenerate deltat.c using the new x-deltat.y and bison 3.0.2.

https://github.com/krb5/krb5/commit/ca8207d5ab5482e6d09a52bdb8b139cb5a28a95d
Author: Greg Hudson <ghudson at mit.edu>
Commit: ca8207d5ab5482e6d09a52bdb8b139cb5a28a95d
Branch: master
 src/lib/krb5/krb/deltat.c   | 1369 +++++++++++++++++++-----------------------
 src/lib/krb5/krb/x-deltat.y |   22 +-
 2 files changed, 629 insertions(+), 762 deletions(-)



More information about the krb5-bugs mailing list