Changes in / [9739c56f:5ef4008]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cpp
r9739c56f r5ef4008 1457 1457 assert( td->kind == TypeData::Aggregate ); 1458 1458 assert( td->aggregate.kind == ast::AggregateDecl::Enum ); 1459 ast::ptr<ast::Type> baseType = td->base ? typebuild(td->base) : nullptr; 1460 1459 ast::ptr<ast::Type> baseType; 1460 if ( td->base ) { 1461 if ( td->base->kind == TypeData::Aggregate ) { 1462 baseType = buildComAggInst( td->base, copy(attributes), linkage ); 1463 } else { 1464 baseType = typebuild( td->base ); 1465 } 1466 } 1461 1467 ast::EnumDecl * ret = new ast::EnumDecl( 1462 1468 td->location,
Note:
See TracChangeset
for help on using the changeset viewer.