summaryrefslogtreecommitdiffstats
path: root/tc/emp_ematch.y
diff options
context:
space:
mode:
authorEthan Sommer <e5ten.arch@gmail.com>2020-01-08 14:57:05 -0500
committerStephen Hemminger <stephen@networkplumber.org>2020-01-20 09:43:22 -0800
commit5f78bc3e1da9a371582f2609e9a674ee294d7bcf (patch)
treec39affb81c27a0bdc1d8b677bb608ceffc0a4606 /tc/emp_ematch.y
parent31f45088c9c891542e38144d0a1bba124934693c (diff)
make yacc usage POSIX compatible
config: put YACC in config.mk and use environmental variable if present ss: use YACC variable instead of hardcoding bison place options before source file argument use -b to specify file prefix instead of output file, as -o isn't POSIX compatible, this generates ssfilter.tab.c instead of ssfilter.c replace any references to ssfilter.c with references to ssfilter.tab.c tc: use -p flag to set name prefix instead of bison-specific api.prefix directive remove unneeded bison-specific directives use -b instead of -o, replace references to previously generated emp_ematch.yacc.[ch] with references to newly generated emp_ematch.tab.[ch] Signed-off-by: Ethan Sommer <e5ten.arch@gmail.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'tc/emp_ematch.y')
-rw-r--r--tc/emp_ematch.y5
1 files changed, 0 insertions, 5 deletions
diff --git a/tc/emp_ematch.y b/tc/emp_ematch.y
index a02e831a..4da3daed 100644
--- a/tc/emp_ematch.y
+++ b/tc/emp_ematch.y
@@ -6,11 +6,6 @@
#include "m_ematch.h"
%}
-%locations
-%token-table
-%define parse.error verbose
-%define api.prefix {ematch_}
-
%union {
unsigned int i;
struct bstr *b;