parser can't decide on "\!" vs. "!" in file rule

Bug #1713587 reported by Christian Boltz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
New
Undecided
Unassigned

Bug Description

/t { /foo\!bar r, }

results in a warning:
    Warning from pr (pr line 2): Character ! was quoted unnecessarily, dropped preceding quote ('\') character

OK, so let's remove the superfluous backslash:

/t { /foo!bar r, }

Now the parser gives me:

    AppArmor parser error for pr in pr at line 1: Found unexpected character: '!'

(tested with the 2.11 parser, the profile was saved in the file "pr")

Tags: aa-parser
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.