Commit 849a52ae authored by Roberto Raggi's avatar Roberto Raggi

Added the base class symbol to its enclosing class declaration.

parent cee87ece
......@@ -292,7 +292,7 @@ void Bind::baseSpecifier(BaseSpecifierAST *ast, unsigned colon_token, Class *kla
const int visibility = visibilityForAccessSpecifier(tokenKind(ast->access_specifier_token));
baseClass->setVisibility(visibility); // ### well, not exactly.
}
klass->addMember(baseClass);
klass->addBaseClass(baseClass);
ast->symbol = baseClass;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment