bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Test 52 failure on AIX, HP-UX, Solaris


From: Akim Demaille
Subject: Re: Test 52 failure on AIX, HP-UX, Solaris
Date: Wed, 3 Feb 2010 15:08:18 +0100

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

[Prev in Thread] Current Thread [Next in Thread]