app: Fix deprecation warning

The "new way" is supported since at least 2010 (!).

app/parse-datetime.y:302.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
  302 | %pure-parser
      | ^~~~~~~~~~~~
      | %define api.pure
This commit is contained in:
Bastien Nocera 2021-03-03 15:52:35 +01:00 committed by Alexander Larsson
parent 1941ddbdba
commit 19b11ade73

View File

@ -299,7 +299,7 @@ set_hhmmss (parser_control *pc, long int hour, long int 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 }