[apparmor] [patch 01/18] parser: eliminate bison warning [resend]

John Johansen john.johansen at canonical.com
Fri Jan 24 10:32:07 UTC 2014


On 01/16/2014 02:06 PM, Steve Beattie wrote:
> This patch eliminates the bison warning about "%name-prefix =" being
> deprecated.
> 
> Signed-off-by: Steve Beattie <steve at nxnw.org>

Acked-by: John Johansen <john.johansen at canonical.com>

> ---
>  parser/libapparmor_re/parse.y |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: b/parser/libapparmor_re/parse.y
> ===================================================================
> --- a/parser/libapparmor_re/parse.y
> +++ b/parser/libapparmor_re/parse.y
> @@ -60,7 +60,7 @@ static inline Chars* insert_char_range(C
>  %lex-param {YYLEX_PARAM}
>  %parse-param {Node **root}
>  %parse-param {const char *text}
> -%name-prefix = "regex_"
> +%name-prefix "regex_"
>  
>  %token <c> CHAR
>  %type <c> regex_char cset_char1 cset_char cset_charN
> 
> 
> -- AppArmor mailing list AppArmor at lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
> 




More information about the AppArmor mailing list