Changes in / [5ef4008:9739c56f]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/TypeData.cpp

    r5ef4008 r9739c56f  
    14571457        assert( td->kind == TypeData::Aggregate );
    14581458        assert( td->aggregate.kind == ast::AggregateDecl::Enum );
    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         }
     1459        ast::ptr<ast::Type> baseType = td->base ? typebuild(td->base) : nullptr;
     1460
    14671461        ast::EnumDecl * ret = new ast::EnumDecl(
    14681462                td->location,
Note: See TracChangeset for help on using the changeset viewer.