Changeset d8e2a09 for src/ResolvExpr
- Timestamp:
- Apr 10, 2022, 10:06:55 PM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 5bb1ac1
- Parents:
- 92538ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r92538ab rd8e2a09 1484 1484 const ast::Type * pointerBase = enumBaseAsPtr->base.get(); 1485 1485 if ( dynamic_cast<const ast::BasicType *>(pointerBase) ) { 1486 objectDecl = fixObjectType(objectDecl, symtab);1486 objectDecl = fixObjectType(objectDecl, context); 1487 1487 if (dynamic_cast<const ast::BasicType *>(pointerBase)->kind == ast::BasicType::Char) 1488 1488 currentObject = ast::CurrentObject{ … … 1491 1491 } }; 1492 1492 } else { 1493 objectDecl = fixObjectType(objectDecl, symtab);1493 objectDecl = fixObjectType(objectDecl, context); 1494 1494 currentObject = ast::CurrentObject{objectDecl->location, new ast::BasicType{ ast::BasicType::SignedInt } }; 1495 1495 } 1496 1496 } 1497 1497 } else { 1498 objectDecl = fixObjectType(objectDecl, symtab);1498 objectDecl = fixObjectType(objectDecl, context); 1499 1499 currentObject = ast::CurrentObject{ 1500 1500 objectDecl->location, new ast::BasicType{ ast::BasicType::SignedInt } };
Note: See TracChangeset
for help on using the changeset viewer.