tc/ematch: fix deprecated yacc warning
Newer versions of Bison deprecated some directives.
YACC emp_ematch.yacc.c
emp_ematch.y:11.1-14: warning: deprecated directive, use ‘%define parse.error verbose’ [-Wdeprecated]
%error-verbose
^~~~~~~~~~~~~~
emp_ematch.y:12.1-22: warning: deprecated directive, use ‘%define api.prefix {ematch_}’ [-Wdeprecated]
%name-prefix "ematch_"
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
62de07faf7
commit
38983334f6
|
|
@ -8,8 +8,8 @@
|
||||||
|
|
||||||
%locations
|
%locations
|
||||||
%token-table
|
%token-table
|
||||||
%error-verbose
|
%define parse.error verbose
|
||||||
%name-prefix "ematch_"
|
%define api.prefix {ematch_}
|
||||||
|
|
||||||
%union {
|
%union {
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue