Changeset 43e0949 for src/CodeGen
- Timestamp:
- Feb 19, 2019, 1:19:47 PM (5 years ago)
- Branches:
- no_list
- Children:
- 2f42718
- Parents:
- 99614c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r99614c2 r43e0949 330 330 331 331 void CodeGenerator::postvisit( Designation * designation ) { 332 std::list< Expression * > designators = designation->get_designators();332 auto & designators = designation->designators; 333 333 if ( designators.size() == 0 ) return; 334 334 for ( Expression * des : designators ) { … … 354 354 auto initBegin = init->begin(); 355 355 auto initEnd = init->end(); 356 auto desigBegin = init-> get_designations().begin();357 auto desigEnd = init-> get_designations().end();356 auto desigBegin = init->designations.begin(); 357 auto desigEnd = init->designations.end(); 358 358 359 359 output << "{ ";
Note: See TracChangeset
for help on using the changeset viewer.