Signed-off-by: Eric Leblond <eric@xxxxxxxxx> --- src/parser_bison.y | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/parser_bison.y b/src/parser_bison.y index b898e1c..85cf131 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -756,6 +756,8 @@ line : common_block { $$ = NULL; } } else list_splice_tail(&list, &state->cmds); } + if (state->nerrs) + YYABORT; $$ = NULL; YYACCEPT; -- 2.13.2 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html