diff options
author | Phil Sutter <phil@nwl.cc> | 2019-07-23 11:53:39 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-07-30 16:28:04 +0200 |
commit | b608abcbb9600d329677382284a21b32bce5eda2 (patch) | |
tree | ca99912080148488f1121df84d19100770482fe8 /include/datatype.h | |
parent | 423abaa40ec47204a08b2e4d3383b7b74acd1d0a (diff) |
parser_bison: Fix for deprecated statements
Bison-3.3 started to warn about:
/home/n0-1/git/nftables/src/parser_bison.y:117.1-19: warning: deprecated directive, use ‘%define api.prefix {nft_}’ [-Wdeprecated]
117 | %name-prefix "nft_"
| ^~~~~~~~~~~~~~~~~~~
/home/n0-1/git/nftables/src/parser_bison.y:119.1-12: warning: deprecated directive, use ‘%define api.pure’ [-Wdeprecated]
119 | %pure-parser
| ^~~~~~~~~~~~
/home/n0-1/git/nftables/src/parser_bison.y:124.1-14: warning: deprecated directive, use ‘%define parse.error verbose’ [-Wdeprecated]
124 | %error-verbose
| ^~~~~~~~~~~~~~
Replace the last two as suggested but leave the first one in place as
that causes compilation errors in scanner.l - flex seems not to pick up
the changed internal symbol names.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/datatype.h')
0 files changed, 0 insertions, 0 deletions