Skip to content
Commit b1d95ae5 authored by Ray Bellis's avatar Ray Bellis Committed by David S. Miller
Browse files

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: default avatarRay Bellis <ray@isc.org>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0c71de66
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment