diff options
author | Phil Sutter <phil@nwl.cc> | 2019-11-16 21:02:07 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-11-18 15:19:35 +0100 |
commit | 816ce7261bdf9296307bad5cafe79e895f537978 (patch) | |
tree | 458531532d78b5b3d4433910f8de6e340f4580ed /src/cli.c | |
parent | a21b003dbd6b382a60b1d3425d929848f6968993 (diff) |
parser_bison: Avoid set references in odd places
With set references being recognized by symbol_expr and that being part
of primary_expr as well as primary_rhs_expr, they could basically occur
anywhere while in fact they are allowed only in quite a few spots.
Untangle things a bit by introducing set_ref_expr and adding that only
in places where it is needed to pass testsuites.
Make sure users can define variables as set references, eg.
define xyz = @setref
And allow to use them from set expressions and statements too.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/cli.c')
0 files changed, 0 insertions, 0 deletions