From: Grzegorz J. <ja...@ac...> - 2005-02-03 14:28:37
|
Altac Edena wrote: > Hi, > By the way, I think there is another bug in > ClassWalker::TranslateInfix(), which leads to core > dump in some cases: > [...] > > As you can see there is no 'return' if (metaobject == > 0). Why GCC isn't complaining about that, it's another > question... > I don't understand all the semantic, but I think there > are too many 'else'. Fixed. > I've found this because you left two debug lines in > the code of Walker::TranslateDeclarators() : > > exp->Display(); > exp2->Display(); Removed. > The second one core dump where walking through a code > like : > > class A { > void f() { > int r = 1+(int)8; > } > }; Added as a test. Thanks! Grzegorz |