Allow quoted single curly braces in variables.
Make tag/variable termination error clearer.