bison-patches
[Top][All Lists]
Advanced

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

Re: 10-exercise-parse-param.patch


From: Paul Eggert
Subject: Re: 10-exercise-parse-param.patch
Date: Sun, 27 Oct 2002 12:26:38 -0800 (PST)

> Date: Sun, 27 Oct 2002 12:51:10 +0100
> From: address@hidden
> 
> > Hmm, how would %error interact with YYERROR?
> 
> Precisely because of all these problems, we will probably have to
> move away from POSIX for extensions, i.e., using POSIXLY_CORRECT etc.
> will disable these extensions.

I don't see why that would be necessary.  If the input says '%error'
then it is clear that the user desires an extension.  As far as I can
see, POSIX doesn't require a diagnostic in that case, and I don't
think we need to generate one.

The only reason we would need POSIXLY_CORRECT is if we want the
default behavior to be something other than what is required by POSIX.
I don't yet see a need for that.




reply via email to

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