[Top][All Lists]

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

Re: POSIX and reduce/reduce conflicts

From: Akim Demaille
Subject: Re: POSIX and reduce/reduce conflicts
Date: 08 Apr 2002 23:24:02 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

>>>>> "Paul" == Paul Eggert <address@hidden> writes:

>> From: Akim Demaille <address@hidden> Date: 08 Apr 2002 19:20:17
>> +0200

>> what does POSIX say about reduce/reduce conflicts?

Paul> I'm not sure what you're looking for here, but POSIX says that
Paul> yacc must report reduce/reduce conflicts (as well as
Paul> shift/reduce conflicts) to stderr in an unspecified format.

Paul> Also, when there is a reduce/reduce conflict, yacc must reduce
Paul> by the grammar rule that occurs earliest in the input.

So using the highest priority is a POSIX violation.  I guess it is

reply via email to

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