next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects
Index of Subjects On Fri, Jan 15, 1999 at 04:43:23PM +0000, Don wrote: > Hi folks! > [snip] > yacc parser.y > cc -O -o getdate getdate.c y.tab.c > cp getdate ../../../lib > > here's the dialog I get: > > cobequidnet:/var/csuite/src/lib/getdate# yacc parser.y > yacc: 8 shift/reduce conflicts. > cobequidnet:/var/csuite/src/lib/getdate# > The conflicts are probably fine. Without getting into a long discussion about grammars and parsers, it has to do with the parser grammar definition in the parser.y grammar file. It could have been intentional, sometimes these are necessary. Perform the rest of the steps and continue testing. If there are still problems after checking everything else, then there is a chance the grammar is wrong. That is not a trivial thing to fix though, so hopefully the bug lies elsewhere :) Sean
next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects