On Wed, Jun 17, 2015 at 02:41:30AM -0700, John Johansen wrote: > Fix the regression that caused using 'include' instead of '#include' for > includes to stop working. > > Signed-off-by: John Johansen <[email protected]> > > diff --git a/parser/parser_lex.l b/parser/parser_lex.l > index 5af788a..974548d 100644 > --- a/parser/parser_lex.l > +++ b/parser/parser_lex.l > @@ -517,7 +517,7 @@ LT_EQUAL <= > } > } > > -#include/.*\r?\n { > +#?include/.*\r?\n { > /* Don't use PUSH() macro here as we don't want #include echoed out. > * It needs to be handled specially > */
While I'm not rescinding my ack, this does introduce a new flex warning: parser_lex.l:519: warning, dangerous trailing context -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
