Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.cc

    rf14d956 r9dc31c10  
    1010// Created On       : Sat May 16 12:34:05 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Apr 20 22:37:20 2018
    13 // Update Count     : 1063
     12// Last Modified On : Thu Apr 19 15:09:29 2018
     13// Update Count     : 1062
    1414//
    1515
     
    562562        checkQualifiers( type, q->type );
    563563        if ( (builtin == Zero || builtin == One) && error.length() == 0 ) {
    564                 SemanticWarning( yylloc, Warning::BadQualifiersZeroOne, Type::QualifiersNames[ilog2( q->type->qualifiers.val )], builtinTypeNames[builtin] );
     564                SemanticWarning( yylloc, Warning::BadQualifiersZeroOne, Type::QualifiersNames[log2( q->type->qualifiers.val )], builtinTypeNames[builtin] );
    565565//              appendError( error, string( "questionable qualifiers" ) );
    566566        } // if
     
    928928                                delete newType->aggInst.aggregate->enumeration.constants;
    929929                                newType->aggInst.aggregate->enumeration.constants = nullptr;
    930                                 newType->aggInst.aggregate->enumeration.body = false;
    931930                        } else {
    932931                                assert( newType->aggInst.aggregate->kind == TypeData::Aggregate );
    933932                                delete newType->aggInst.aggregate->aggregate.fields;
    934933                                newType->aggInst.aggregate->aggregate.fields = nullptr;
    935                                 newType->aggInst.aggregate->aggregate.body = false;
    936934                        } // if
    937935                        // don't hoist twice
Note: See TracChangeset for help on using the changeset viewer.