KDE/kdevelop/languages/cpp/expressionparser

David Nolden david.nolden.kdevelop at art-master.de
Thu Jun 21 14:49:50 UTC 2007


On Thursday 21 June 2007 16:22:59 David Nolden wrote:

> You also don't need indentation, still you use it. It is consistent placing
> a semicolon behind every statement.

Ok, behind functions it would look really stupid, but behind independent 
macros I think it's useful, because it makes clear that the macro is an 
independent statement, and it cannot break a parser that doesn't know the 
macro.

But since it won't be allowed in the next versions of gcc, and because gcc 
with -pedantic doesn't accept it, of course I won't do it any more.

I just don't like your implication that someone who places a semicolon where 
it isn't absolutely needed doesn't know how to write c++.

greetings, David





More information about the KDevelop-devel mailing list