Changeset 960665c for src/Parser
- Timestamp:
- Aug 20, 2024, 6:15:01 PM (3 months ago)
- Branches:
- master
- Children:
- ad47ec4
- Parents:
- d1f5054 (diff), df2e00f (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cpp
rd1f5054 r960665c 999 999 assert( type ); 1000 1000 1001 // Some types are parsed as declarations and, syntactically, can have 1002 // initializers. However, semantically, this is meaningless. 1003 if ( initializer ) { 1004 SemanticError( this, "Initializer on type declaration " ); 1005 } 1006 1001 1007 switch ( type->kind ) { 1002 1008 case TypeData::Aggregate: {
Note: See TracChangeset
for help on using the changeset viewer.