Skip to content

Commit

Permalink
parser: change deprecated %pure-parser to %define api.pure (#370)
Browse files Browse the repository at this point in the history
This is now supported by byacc since version 2.0 20230516
  • Loading branch information
mckellygit authored Aug 5, 2023
1 parent a4c0852 commit e7f02d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xkbcomp/parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down

0 comments on commit e7f02d3

Please sign in to comment.