]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser_bison: fix error location for set elements
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 Jun 2022 08:15:30 +0000 (10:15 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 Jun 2022 08:15:30 +0000 (10:15 +0200)
commitf56e901acea6bb5febb24766e0e167989f5242c9
tree2b0a3765caf6c0786b32a3c0f78721715c3dc3c9
parent6d1ee9267e7e5e429a84d7bb8a8644f9eebddb22
parser_bison: fix error location for set elements

opt_newline causes interfere since it points to the previous line.
Refer to set element key for error reporting.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/parser_bison.y