mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
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:
parent
1941ddbdba
commit
19b11ade73
@ -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 }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user