]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: update yacc file
authorSami Kerola <kerolasa@iki.fi>
Thu, 13 Feb 2020 20:57:53 +0000 (20:57 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sat, 15 Feb 2020 15:24:01 +0000 (15:24 +0000)
$ 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 <kerolasa@iki.fi>
sys-utils/hwclock-parse-date.y

index b86eadc8ac74dd1fbe87a56c8ef3272184fbbe8f..35669fde81cb501f9c19c35f608d2c80079dc866 100644 (file)
@@ -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 }