diff options
author | Ray Bellis <ray@isc.org> | 2016-02-22 11:02:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-22 13:29:42 -0500 |
commit | b1d95ae5c5bd3deba84d00c4f83d7d0836b5936f (patch) | |
tree | 720f4a334f3bab64b586866165b158903c8efb7f /lib | |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions