[Top][All Lists]

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

minor issue in lalr1.cc

From: martin nylin
Subject: minor issue in lalr1.cc
Date: Thu, 11 May 2006 01:32:07 +0800

Hi all!

I just checked out the latest sources from CVS and when I use them to build my 
c++-parser, which I compile with g++ -Wshadow, I get the following warning:

Parser.cc: In member function 'short unsigned int 
Parser.cc:13721: warning: declaration of 'token' shadows a member of 'this'

The reason for this, I think, is that in lalr1.cc in line 132, a struct 
attribute of the parser is named 'token' and then in line 266, the argument to 
the method yytranslate is also named 'token'.


"A day may come when the courage of men fails, when we forsake our friends and 
break all bonds of fellowship, but it is not this day. This day we fight!" 

Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

reply via email to

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