This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bison1.34 warnings for parse.y


>From the bison-1.34 NEWS file:

* A missing `;' ending a rule triggers a warning
  In accordance with POSIX, and in agreement with other
  Yacc implementations, Bison will mandate this semicolon in a near
  future.  This eases the implementation of a Bison parser of Bison
  grammars by making this grammar LALR(1) instead of LR(2).  To
  facilitate the transition, this release introduces a warning.

So, yes, it's right.

Florian

> 
> Hi all,
> 
> just noticed that bison1.34 emits the following warnings for parse.y:
> 
> parse.y:600: warning: previous rule lacks an ending `;'
> parse.y:649: warning: previous rule lacks an ending `;'
> parse.y:1046: warning: previous rule lacks an ending `;'
> parse.y:1053: warning: previous rule lacks an ending `;'
> parse.y:1069: warning: previous rule lacks an ending `;'
> parse.y:1084: warning: previous rule lacks an ending `;'
> parse.y:1503: warning: previous rule lacks an ending `;'
> parse.y:2192: warning: previous rule lacks an ending `;'
> parse.y:2253: warning: previous rule lacks an ending `;'
> parse.y:2686: warning: previous rule lacks an ending `;'
> 
> Is it right?
> 
> Ciao, Paolo.
> 
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]