Ensure we can only use variables and `\\` as arguments of bodyless clause

closes #2374

I'm not sure this error message is proper.