commit | b1d95ae5c5bd3deba84d00c4f83d7d0836b5936f | [log] [tgz] |
---|---|---|
author | Ray Bellis <ray@isc.org> | Mon Feb 22 11:02:40 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 22 13:29:42 2016 -0500 |
tree | 720f4a334f3bab64b586866165b158903c8efb7f | |
parent | 0c71de6634c5c1b6c9dcb80049680ad334205c23 [diff] |
tools, bpf_asm: simplify parser rule for BPF extensions We can already use yylval in the lexer for encoding the BPF extension number, so that the parser rules can be further reduced to a single one for each B/H/W case. Signed-off-by: Ray Bellis <ray@isc.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>