Use options->syntax_error in clan