Changeset e6cee92 for src/Parser


Ignore:
Timestamp:
Jul 17, 2017, 3:25:58 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:
795d450
Parents:
7ebaa56
Message:

Fix TupleAssignment? code for references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.cc

    r7ebaa56 re6cee92  
    770770DeclarationNode * DeclarationNode::addNewPointer( DeclarationNode * p ) {
    771771        if ( p ) {
    772                 assert( p->type->kind == TypeData::Pointer );
     772                assert( p->type->kind == TypeData::Pointer || p->type->kind == TypeData::Reference );
    773773                if ( type ) {
    774774                        switch ( type->kind ) {
Note: See TracChangeset for help on using the changeset viewer.