summaryrefslogtreecommitdiffstats
path: root/tc/emp_ematch.y
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2019-04-24 15:08:31 -0700
committerStephen Hemminger <stephen@networkplumber.org>2019-04-24 15:10:22 -0700
commit38983334f6d59318f40cda5cab771a92c2510695 (patch)
tree7bdc617b9b4e87f2a044e000ddf9d99ce2cc59fa /tc/emp_ematch.y
parent62de07faf7ecfbf867ce63e7e08bb624ad54137a (diff)
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>
Diffstat (limited to 'tc/emp_ematch.y')
-rw-r--r--tc/emp_ematch.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/tc/emp_ematch.y b/tc/emp_ematch.y
index 2e6cf353..a02e831a 100644
--- a/tc/emp_ematch.y
+++ b/tc/emp_ematch.y
@@ -8,8 +8,8 @@
%locations
%token-table
-%error-verbose
-%name-prefix "ematch_"
+%define parse.error verbose
+%define api.prefix {ematch_}
%union {
unsigned int i;