Changeset 8c55d34 for src/Parser/TypeData.cpp
- Timestamp:
- Jul 5, 2024, 10:12:51 AM (2 weeks ago)
- Branches:
- master
- Children:
- c2cf2d0
- Parents:
- 99f7f37
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cpp
r99f7f37 r8c55d34 1471 1471 ast::ObjectDecl * object = strict_dynamic_cast<ast::ObjectDecl *>( member ); 1472 1472 object->isHidden = ast::EnumDecl::EnumHiding::Hide == ret->hide; 1473 if ( ret->isOpa gue() && cur->has_enumeratorValue() ) {1473 if ( ret->isOpaque() && cur->has_enumeratorValue() ) { 1474 1474 SemanticError( td->location, "Opague cannot have an explicit initializer value." ); 1475 1475 } else if ( cur->has_enumeratorValue() ) { … … 1479 1479 ast::NoConstruct 1480 1480 ); 1481 } 1481 } 1482 1482 // else cur is a List Initializer and has been set as init in buildList() 1483 1483 // if
Note: See TracChangeset
for help on using the changeset viewer.