From: Pablo Neira Ayuso Date: Wed, 13 Jul 2016 14:45:52 +0000 (+0200) Subject: parser_bison: fix typo in symbol redefinition error reporting X-Git-Tag: v0.7~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ce18f9e8470a6b982a888b98e60040c1be4cb5c;p=thirdparty%2Fnftables.git parser_bison: fix typo in symbol redefinition error reporting "redefinition" instead of "redfinition". Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/parser_bison.y b/src/parser_bison.y index d946e0e0..6a029d1c 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -635,7 +635,7 @@ common_block : INCLUDE QUOTED_STRING stmt_seperator struct scope *scope = current_scope(state); if (symbol_lookup(scope, $2) != NULL) { - erec_queue(error(&@2, "redfinition of symbol '%s'", $2), + erec_queue(error(&@2, "redefinition of symbol '%s'", $2), state->msgs); YYERROR; }