Parse nexted boolexpr a bit better and warn for extra code after $ symbol