Distributed Namespace -- changes in ClassParser.cc

Eric OURSEL eric.oursel at serfrance.fr
Wed Feb 23 10:14:39 GMT 2000


I have made some modifications in the kdevelop 1.1beta2 source to
enhance namespaces support. Now it works with imbricated namespaces such
as 

x.h:
namespace a
{
  namespace b
  {
     class x
     {
       m();
     }
  }
}

x.cpp:

namespace a
{ 
   namespace b
   {
      x:m() { cout << "hello world!"; };
   }
}

Furthermore, the namespace tree seems to be correct. I have loaded 4
imbricated namespaces and about 30 classes without any problems. 

This a a common generated code from Rational Rose. 

Are you interested by a patch file? I could publish this patch for
friday evening if you need it. 

Best regards. 

Eric OURSEL
eric_oursel at bigfoot.com




More information about the KDevelop mailing list