Message ID | 20170710223255.29885-5-eric@regit.org |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
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;
Signed-off-by: Eric Leblond <eric@regit.org> --- src/parser_bison.y | 2 ++ 1 file changed, 2 insertions(+)