The problem is that, since true is numeric literal, this is parsed as a multiplication:
julia> :(foo"bar"true)
:(foo"bar" * true)
Just use t and f as your flags and it should work … normally these string-macro flags are one-character, like in regexes.