This catches a closing brace followed by a character that is not withing the [^] list. it catches code like "struct {T x}a;", which should be "struct {T x} a;". Characters after // are ignored.
