Ignore:
Timestamp:
Apr 19, 2022, 3:00:04 PM (3 years ago)
Author:
m3zulfiq <m3zulfiq@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
5b84a321
Parents:
ba897d21 (diff), bb7c77d (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:

added benchmark and evaluations chapter to thesis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/GenType.cc

    rba897d21 r2e9b59b  
    253253
    254254        void GenType::postvisit( EnumInstType * enumInst ) {
    255                 typeString = enumInst->name + " " + typeString;
    256                 if ( options.genC ) typeString = "enum " + typeString;
     255                if ( enumInst->baseEnum->base ) {
     256                        typeString = genType(enumInst->baseEnum->base, "", options) + typeString;
     257                } else {
     258                        typeString = enumInst->name + " " + typeString;
     259                        if ( options.genC ) {
     260                                typeString = "enum " + typeString;
     261                        }
     262                }
    257263                handleQualifiers( enumInst );
    258264        }
Note: See TracChangeset for help on using the changeset viewer.