Changeset a97b9ed for src/ResolvExpr
- Timestamp:
- Oct 16, 2023, 8:09:51 AM (2 years ago)
- Branches:
- master
- Children:
- 2bf46a5, 54e59dd, 61e5d99
- Parents:
- 946a6e4 (diff), 8cbe732 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ResolveTypeof.cc
r946a6e4 ra97b9ed 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.