Added parser_error up to and not including ternary statement parsing.