Changes in src/SymTab/Validate.cc [bbf3fda:b2da0574]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
rbbf3fda rb2da0574 316 316 317 317 void HoistStruct::previsit( EnumInstType * inst ) { 318 if ( inst->baseEnum ) {318 if ( inst->baseEnum && inst->baseEnum->body ) { 319 319 declsToAddBefore.push_front( inst->baseEnum ); 320 320 } … … 322 322 323 323 void HoistStruct::previsit( StructInstType * inst ) { 324 if ( inst->baseStruct ) {324 if ( inst->baseStruct && inst->baseStruct->body ) { 325 325 declsToAddBefore.push_front( inst->baseStruct ); 326 326 } … … 328 328 329 329 void HoistStruct::previsit( UnionInstType * inst ) { 330 if ( inst->baseUnion ) {330 if ( inst->baseUnion && inst->baseUnion->body ) { 331 331 declsToAddBefore.push_front( inst->baseUnion ); 332 332 }
Note:
See TracChangeset
for help on using the changeset viewer.