From e7f02d322a529c100764808a54447b26320dbe5f Mon Sep 17 00:00:00 2001 From: M Kelly <67548250+mckellygit@users.noreply.github.com> Date: Sat, 5 Aug 2023 15:29:36 -0400 Subject: [PATCH] parser: change deprecated `%pure-parser` to `%define api.pure` (#370) This is now supported by byacc since version 2.0 20230516 --- src/xkbcomp/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xkbcomp/parser.y b/src/xkbcomp/parser.y index d4f62c05b..7cf20393c 100644 --- a/src/xkbcomp/parser.y +++ b/src/xkbcomp/parser.y @@ -85,7 +85,7 @@ resolve_keysym(const char *name, xkb_keysym_t *sym_rtrn) #define param_scanner param->scanner %} -%pure-parser +%define api.pure %lex-param { struct scanner *param_scanner } %parse-param { struct parser_param *param }