Changes in / [2c8c314:8fcf921]
- Location:
- src/CodeGen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r2c8c314 r8fcf921 283 283 assert( obj ); 284 284 output << "static "; 285 output << genType(enumDecl->base, "", options) << " const "; 286 output << mangleName( obj ) << " "; 285 output << genType(enumDecl->base, mangleName( obj ), options); 287 286 output << " = "; 288 287 output << "(" << genType(enumDecl->base, "", options) << ")"; -
src/CodeGen/GenType.cc
r2c8c314 r8fcf921 255 255 void GenType::postvisit( EnumInstType * enumInst ) { 256 256 if ( enumInst->baseEnum && enumInst->baseEnum->base ) { 257 typeString = genType(enumInst->baseEnum->base, "", options) + typeString;257 typeString = genType(enumInst->baseEnum->base, typeString, options); 258 258 } else { 259 259 typeString = enumInst->name + " " + typeString;
Note: See TracChangeset
for help on using the changeset viewer.