- Timestamp:
 - Mar 25, 2024, 11:54:18 AM (20 months ago)
 - Branches:
 - master
 - Children:
 - 486caad
 - Parents:
 - 051aec4
 - Location:
 - src/Parser
 - Files:
 - 
      
- 3 edited
 
- 
          
  DeclarationNode.cc (modified) (1 diff)
 - 
          
  TypeData.cc (modified) (2 diffs)
 - 
          
  TypeData.h (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
src/Parser/DeclarationNode.cc
r051aec4 rbf050c5 185 185 newnode->type->aggregate.fields = fields; 186 186 newnode->type->aggregate.body = body; 187 newnode->type->aggregate.parent = nullptr;188 187 return newnode; 189 188 } // DeclarationNode::newAggregate  - 
      
src/Parser/TypeData.cc
r051aec4 rbf050c5 88 88 aggregate.fields = nullptr; 89 89 aggregate.body = false; 90 aggregate.parent = nullptr;91 90 aggregate.anon = false; 92 91 break; … … 220 219 newtype->aggregate.kind = aggregate.kind; 221 220 newtype->aggregate.name = aggregate.name ? new string( *aggregate.name ) : nullptr; 222 newtype->aggregate.parent = aggregate.parent ? new string( *aggregate.parent ) : nullptr;223 221 newtype->aggregate.params = maybeCopy( aggregate.params ); 224 222 newtype->aggregate.actuals = maybeCopy( aggregate.actuals );  - 
      
src/Parser/TypeData.h
r051aec4 rbf050c5 48 48 ast::AggregateDecl::Aggregate kind; 49 49 const std::string * name = nullptr; 50 const std::string * parent = nullptr;51 50 DeclarationNode * params = nullptr; 52 51 ExpressionNode * actuals = nullptr; // holds actual parameters later applied to AggInst  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.