parser: change deprecated `%pure-parser` to `%define api.pure` (#370) This is now supported by byacc since version 2.0 20230516
diff --git a/src/xkbcomp/parser.y b/src/xkbcomp/parser.y
index d4f62c0..7cf2039 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 }