Changeset 487845d7 for src/SynTree


Ignore:
Timestamp:
Nov 29, 2017, 1:56:42 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
389528b0
Parents:
8a62d04
Message:

Add aggregate qualifiers to MemberExpr? type [fixes #65]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.cc

    r8a62d04 r487845d7  
    356356        Type * res = member->get_type()->clone();
    357357        sub.apply( res );
    358         set_result( res );
    359         get_result()->set_lvalue( true );
     358        result = res;
     359        result->set_lvalue( true );
     360        result->get_qualifiers() |= aggregate->result->get_qualifiers();
    360361}
    361362
Note: See TracChangeset for help on using the changeset viewer.