Making error messages more clear when a vector or scalar is found in macro parsing, and the other type is expected.