[apparmor] [patch 4/3] libapparmor: adjust %pure-parser directive
Steve Beattie
steve at nxnw.org
Wed Sep 3 14:39:39 UTC 2014
[Sorry, meant this patch to go out with the others.]
This patch adjusts libapparmor's aalogparse bison grammer to use the
%pure-parser keyword instead of the deprecated %pure_parser keyword.
Bison had been warning about this:
libraries/libapparmor/src/grammar.y:71.1-12: warning: deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
%pure_parser
^^^^^^^^^^^^
Signed-off-by: Steve Beattie <steve at nxnw.org>
---
libraries/libapparmor/src/grammar.y | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/libraries/libapparmor/src/grammar.y
===================================================================
--- a/libraries/libapparmor/src/grammar.y
+++ b/libraries/libapparmor/src/grammar.y
@@ -68,7 +68,7 @@ aa_record_event_type lookup_aa_event(uns
%}
%defines
-%pure_parser
+%pure-parser
%lex-param{void *scanner}
%parse-param{void *scanner}
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140903/e13b7fb5/attachment.pgp>
More information about the AppArmor
mailing list