Open mbautin opened 5 years ago
Also happens with Bison 3.0.5
[5/1665] [BISON][QLParser] Building parser with bison 3.0.5
parser_gram.y: warning: 9 nonterminals useless in grammar [-Wother]
parser_gram.y: warning: 38 rules useless in grammar [-Wother]
parser_gram.y:422.86-94: warning: nonterminal useless in grammar: key_match [-Wother]
%type
[BISON][QLParser] Building parser with bison 3.4.2 parser_gram.y:53.1-41: warning: deprecated directive, use ‘%define api.parser.class {GramProcessor}’ [-Wdeprecated] 53 | %define parser_class_name {GramProcessor} | ^
~~~~~~~~parser_gram.y: warning: 9 nonterminals useless in grammar [-Wother] parser_gram.y: warning: 38 rules useless in grammar [-Wother] parser_gram.y:1442.1-9: warning: nonterminal useless in grammar: key_match [-Wother] 1442 | key_match: | ^~~~~ parser_gram.y:1483.1-11: warning: nonterminal useless in grammar: key_actions [-Wother] 1483 | key_actions: | ^~~parser_gram.y:1501.1-10: warning: nonterminal useless in grammar: key_update [-Wother] 1501 | key_update: | ^~~~~~ parser_gram.y:1507.1-10: warning: nonterminal useless in grammar: key_delete [-Wother] 1507 | key_delete: | ^~~~~~ parser_gram.y:1513.1-10: warning: nonterminal useless in grammar: key_action [-Wother] 1513 | key_action: | ^~~~~~ parser_gram.y:6502.1-16: warning: nonterminal useless in grammar: NumericOnly_list [-Wother] 6502 | NumericOnly_list: | ^~~~parser_gram.y:7849.1-16: warning: nonterminal useless in grammar: privilege_target [-Wother] 7849 | privilege_target: | ^~~~parser_gram.y:7903.1-27: warning: nonterminal useless in grammar: function_with_argtypes_list [-Wother] 7903 | function_with_argtypes_list: | ^~~~~~~ parser_gram.y:7950.1-14: warning: nonterminal useless in grammar: opt_granted_by [-Wother] 7950 | opt_granted_by: | ^~~~~~ parser_gram.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]