bug-global
[Top][All Lists]
Advanced

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

Minor C++ parsing problem


From: Tobias Polzin
Subject: Minor C++ parsing problem
Date: Thu, 18 Oct 2007 19:31:59 +0200

Hi,

Again, first, thanks for global! I noticed a minor C++ parsing problem with constructors and destructors:

-------------------------------------
A::A() :
  _a( 0 ),
  _b( 1 )
{
};

A::~A()
{
};
-------------------------------------

I would have expected


-------------------------------------
A                   1 c.cpp              A::A() :
~A                  7 c.cpp            A::~A()
-------------------------------------  

But got:

-------------------------------------
_b                  3 c.cpp              _b( 1 )
A                   7 c.cpp            A::~A()
-------------------------------------  

Perhaps you find an easy way to fix this.
Regards,
  Tobias

reply via email to

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