Re: [PATCH 4/5, V2, nft] Simplify parser rule_spec tree
On 08/08/2016 04:54 PM, Pablo Neira Ayuso wrote: On Mon, Aug 08, 2016 at 02:42:34PM +0200, Carlos Falgueras García wrote: -position_spec : /* empty */ +rule_position : chain_spec { - memset(&$$, 0, sizeof($$));
[PATCH 4/5, V2, nft] Simplify parser rule_spec tree
This patch separates the rule identification from the rule localization, so the logic moves from the evaluator to the parser. This allows to revert the patch "evaluate: improve rule managment checks" (4176c7d30c2ff1b3f52468fc9c08b8df83f979a8) and saves a lot of code. Signed-off-by: Carlos