Le 2 févr. 2010 à 07:19, Joel E. Denny a écrit :

Well spotted!

> -void
> +bool
> output_file_name_check (char const *file_name)
> {
>   if (0 == strcmp (file_name, grammar_file))
> -    fatal (_("refusing to overwrite the input file %s"), quote (file_name));
> +    {
> +      complain (_("fatal error: refusing to overwrite the input file %s"),
> +                quote (file_name));
> +      return true;
> +    }

I would rather return false on failure.

Reply via email to