]> git.proxmox.com Git - mirror_iproute2.git/commit
ssfilter: Eliminate shift/reduce conflicts
authorPhil Sutter <phil@nwl.cc>
Sat, 24 Mar 2018 17:45:14 +0000 (18:45 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 27 Mar 2018 18:41:08 +0000 (11:41 -0700)
commitb2038cc0b2403e8c5126cfcf45f6ee48ac549ad0
treee60b317d3a670980d939591f54d9adcfb5378067
parent8ee38d833ccb1863f06634e12c5236b0ef7c2d76
ssfilter: Eliminate shift/reduce conflicts

The problematic bit was the 'expr: expr expr' rule. Fix this by making
'expr' token represent a single filter only and introduce a new token
'exprlist' to represent a combination of filters.

Signed-off-by: Phil Sutter <phil@nwl.cc>
misc/ssfilter.y