Changeset f033d01 for src/ResolvExpr
- Timestamp:
- Sep 25, 2023, 12:52:58 PM (16 months ago)
- Branches:
- master
- Children:
- 85034ed
- Parents:
- c7616dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ResolveTypeof.cc
rc7616dd rf033d01 231 231 const ast::Designation *des = mutListInit->designations[k].get(); 232 232 // Desination here 233 ast::Designation * newDesi nation = new ast::Designation(des->location);233 ast::Designation * newDesignation = new ast::Designation(des->location); 234 234 std::deque<ast::ptr<ast::Expr>> newDesignators; 235 235 … … 265 265 } 266 266 267 newDesi nation->designators = newDesignators;268 mutListInit = ast::mutate_field_index(mutListInit, &ast::ListInit::designations, k, newDesi nation);267 newDesignation->designators = newDesignators; 268 mutListInit = ast::mutate_field_index(mutListInit, &ast::ListInit::designations, k, newDesignation); 269 269 270 270 }
Note: See TracChangeset
for help on using the changeset viewer.