Changeset a97b9ed for src/ResolvExpr


Ignore:
Timestamp:
Oct 16, 2023, 8:09:51 AM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ResolveTypeof.cc

    r946a6e4 ra97b9ed  
    231231            const ast::Designation *des = mutListInit->designations[k].get();
    232232            // Desination here
    233             ast::Designation * newDesination = new ast::Designation(des->location);
     233            ast::Designation * newDesignation = new ast::Designation(des->location);
    234234            std::deque<ast::ptr<ast::Expr>> newDesignators;
    235235
     
    265265            }           
    266266           
    267             newDesination->designators = newDesignators;
    268             mutListInit = ast::mutate_field_index(mutListInit, &ast::ListInit::designations, k, newDesination);
     267            newDesignation->designators = newDesignators;
     268            mutListInit = ast::mutate_field_index(mutListInit, &ast::ListInit::designations, k, newDesignation);
    269269           
    270270        }
Note: See TracChangeset for help on using the changeset viewer.