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 %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;