Check if the code is a valid single-line expression, and show error when there's one.