Changeset 5bdeb35


Ignore:
Timestamp:
Jul 4, 2018, 9:24:15 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
57fc7d8
Parents:
6c0c52f
Message:

allow distribution into nested extern "C" block

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r6c0c52f r5bdeb35  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jul  2 20:23:14 2018
    13 // Update Count     : 3607
     12// Last Modified On : Wed Jul  4 20:56:04 2018
     13// Update Count     : 3616
    1414//
    1515
     
    118118        // distribute qualifiers across all declarations in a distribution statemement
    119119        for ( DeclarationNode * iter = declaration; iter != nullptr; iter = (DeclarationNode *)iter->get_next() ) {
    120                 if ( isMangled( iter->linkage ) ) {             // ignore extern "C"
    121                         iter->addQualifiers( qualifiers->clone() );
    122                 } // if
     120                iter->addQualifiers( qualifiers->clone() );
    123121        } // for
    124122} // distExt
Note: See TracChangeset for help on using the changeset viewer.