Changes in src/Parser/DeclarationNode.cc [71bd8c6:2871210]
- File:
-
- 1 edited
-
src/Parser/DeclarationNode.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
r71bd8c6 r2871210 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 12:34:05 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Wed Jul 08 16:40:37201513 // Update Count : 1 2111 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 3 12:35:02 2015 13 // Update Count : 108 14 14 // 15 15 … … 284 284 newnode->type->array->dimension = size; 285 285 newnode->type->array->isStatic = isStatic; 286 if ( newnode->type->array->dimension == 0 || dynamic_cast<ConstantNode *>( newnode->type->array->dimension ) ) { 287 newnode->type->array->isVarLen = false; 288 } else { 289 newnode->type->array->isVarLen = true; 290 } // if 286 newnode->type->array->isVarLen = false; 291 287 return newnode->addQualifiers( qualifiers ); 292 288 } … … 468 464 bitfieldWidth = o->bitfieldWidth; 469 465 } // if 470 471 // there may be typedefs chained onto the type472 if ( o->get_link() ) {473 set_link( o->get_link()->clone() );474 }475 476 466 } // if 477 467 delete o;
Note:
See TracChangeset
for help on using the changeset viewer.