The affected comment rule is already in the INITIAL start condition
so BEGIN(INITIAL) is extraneous and will cause problems when switching
to a stack of start conditions.

Signed-off-by: John Johansen <[email protected]>
---
 parser/parser_lex.l |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/parser/parser_lex.l b/parser/parser_lex.l
index c3538ce..83800f4 100644
--- a/parser/parser_lex.l
+++ b/parser/parser_lex.l
@@ -515,7 +515,6 @@ LT_EQUAL    <=
                        DUMP_PREPROCESS;
                        PDEBUG("comment(%d): %s\n", current_lineno, yytext);
                        current_lineno++;
-                       BEGIN(INITIAL);
                        }
 
 {END_OF_RULE}          { DUMP_PREPROCESS; return TOK_END_OF_RULE; }
-- 
1.7.7.3


-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to