]> git.ipfire.org Git - thirdparty/nftables.git/commit
expression: Introduce is_symbol_value_expr() macro
authorPhil Sutter <phil@nwl.cc>
Tue, 29 Jul 2025 15:52:35 +0000 (17:52 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 31 Jul 2025 11:26:51 +0000 (13:26 +0200)
commit26ed87de43142dac3c85390ae27e50a156581e94
tree5182dbf2441dfac2470d9f87b1e4673b49264aac
parent7265bf1252f66d5ca5b5dc4aa06df43f60f551a6
expression: Introduce is_symbol_value_expr() macro

Annotate and combine the 'etype' and 'symtype' checks done in bison
parser for readability and because JSON parser will start doing the same
in a follow-up patch.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/expression.h
src/parser_bison.y