From fdd89f1da5386aa7f7304c985220381e6d5a711c Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Fri, 24 Jan 2014 10:19:59 -0800 Subject: [PATCH] parser: eliminate bison warning This patch eliminates the bison warning about "%name-prefix =" being deprecated. Signed-off-by: Steve Beattie Acked-by: John Johansen --- parser/libapparmor_re/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/libapparmor_re/parse.y b/parser/libapparmor_re/parse.y index b29523fde..b410437b7 100644 --- a/parser/libapparmor_re/parse.y +++ b/parser/libapparmor_re/parse.y @@ -60,7 +60,7 @@ static inline Chars* insert_char_range(Chars* cset, uchar a, uchar b) %lex-param {YYLEX_PARAM} %parse-param {Node **root} %parse-param {const char *text} -%name-prefix = "regex_" +%name-prefix "regex_" %token CHAR %type regex_char cset_char1 cset_char cset_charN