From: tom@smart.bo.open.de (Thomas Neumann) Subject: Re: Problem compiling CNews under Linux Date: 14 Jan 1993 07:09:37 GMT
>>>>> Regarding Re: Problem compiling CNews under Linux; marcf@nexus.yorku.ca (Marc G Fournier) adds:
>making libc, yacc chokes on /lib/getdate.y. It says "getdate.y contains 8
>shift/reduce conflicts". Make then fails.
marcf> I get this too...but it doesn't fail. Sorry...but I
marcf> also got that under my old, Commercial system :)
This is no bug at all. shift/reduce conflicts are not a bug, they are
inherent to some types of grammars. Yacc just reports them to focus your
attention to the fact that the grammar *might* not work as intended. In
getdate.y the s/r conflicts are ok and no version of yacc should exit
with a non-zero status because of s/r conflicts, hence make should not
fail at that point.
bye -- Thomas