help-bison
[Top][All Lists]
Advanced

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

Re: simply don't get it!!


From: Akim Demaille
Subject: Re: simply don't get it!!
Date: 28 Jun 2002 14:19:32 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

Why don't you start with fixing the sample grammar:

/tmp/florian % bison parse.y                                     nostromo 14:18
parse.y: warning: 1 nonterminal inutilisable et 2 règles inutilisables
parse.y:10.21-48: warning: useless nonterminal: with_possible_parameter_list
parse.y:19.2-22.3: warning: useless rule: with_possible_parameter_list: '(' 
name ')'
parse.y:23.2-26.3: warning: useless rule: with_possible_parameter_list: '(' 
error ')'


according to your grammar, the axiom is `name' which matches only a
single TK_NAME.



reply via email to

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