Changeset d0d9610


Ignore:
Timestamp:
Sep 22, 2015, 2:09:26 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
8ee15ffd
Parents:
8cbf8cd
Message:

fixed copy error in Expression

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.h

    r8cbf8cd rd0d9610  
    1010// Created On       : Sun May 17 21:38:55 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Aug 05 13:51:39 2015
    13 // Update Count     : 4
     12// Last Modified On : Thu Sep 17 16:05:38 2015
     13// Update Count     : 5
    1414//
    1515
     
    1919#include <list>
    2020#include <string>
    21 #include <map>
    2221
    2322#include "SynTree/Visitor.h"
  • src/SynTree/Expression.cc

    r8cbf8cd rd0d9610  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Aug 12 14:02:45 2015
    13 // Update Count     : 30
     12// Last Modified On : Wed Sep 02 12:07:10 2015
     13// Update Count     : 33
    1414//
    1515
     
    3131Expression::Expression( Expression *_aname ) : env( 0 ), argName( _aname ) {}
    3232
    33 Expression::Expression( const Expression &other ) : env( maybeClone( other.env ) ) {
     33Expression::Expression( const Expression &other ) : env( maybeClone( other.env ) ), argName( maybeClone( other.get_argName() ) ) {
    3434        cloneAll( other.results, results );
    35         argName = other.get_argName();
    3635}
    3736
Note: See TracChangeset for help on using the changeset viewer.