From: Sami Kerola Date: Thu, 13 Feb 2020 20:57:53 +0000 (+0000) Subject: hwclock: update yacc file X-Git-Tag: v2.36-rc1~225^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8608be7c8c48f01ec86bc7c0f55f3c32a118e468;p=thirdparty%2Futil-linux.git hwclock: update yacc file $ bison --update sys-utils/hwclock-parse-date.y sys-utils/hwclock-parse-date.y:287.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated] Signed-off-by: Sami Kerola --- diff --git a/sys-utils/hwclock-parse-date.y b/sys-utils/hwclock-parse-date.y index b86eadc8ac..35669fde81 100644 --- a/sys-utils/hwclock-parse-date.y +++ b/sys-utils/hwclock-parse-date.y @@ -284,7 +284,7 @@ set_hhmmss(parser_control *pc, intmax_t hour, intmax_t minutes, * We want a reentrant parser, even if the TZ manipulation and the calls to * localtime and gmtime are not reentrant. */ -%pure-parser +%define api.pure %parse-param { parser_control *pc } %lex-param { parser_control *pc }