Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #459

yacc warning about useless rule

From Jens Kallup <jkallup@web.de>
Newsgroups comp.compilers
Subject yacc warning about useless rule
Date 2012-02-13 22:22 +0100
Organization CNNTP
Message-ID <12-02-019@comp.compilers> (permalink)

Show all headers | View raw


Hello there,

I get the following Warning:

conflicts: 7 shift/reduce
pcode.y:64.12-66.5: warning: rule useless in parser due to conflicts:
$@1: /* empty */


is this a error?
why is it display?
give it a glue?

thanks
Jens
[Yes, it's an error.  It's telling you that your grammar can't be
turned into a LALR parser, and the parser it did generate will never
reduce that rule.  Solution: find the conflicts and fix them. -John]

Back to comp.compilers | Previous | Next | Find similar


Thread

yacc warning about useless rule Jens Kallup <jkallup@web.de> - 2012-02-13 22:22 +0100

csiph-web