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:
Stephen Hemminger 2019-04-24 15:08:31 -07:00
parent 62de07faf7
commit 38983334f6
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@
%locations
%token-table
%error-verbose
%name-prefix "ematch_"
%define parse.error verbose
%define api.prefix {ematch_}
%union {
unsigned int i;