- parse the list of class/struct fields and add the PField entries to their type.
- fixed a few issues with trying to access a class's Type before it got initialized.
This commit is contained in:
parent
49f18c0a19
commit
ad43f2bc7e
9 changed files with 528 additions and 50 deletions
|
|
@ -290,6 +290,7 @@ enum_def(X) ::= ENUM(T) IDENTIFIER(A) enum_type(B) LBRACE opt_enum_list(C) RBRAC
|
|||
def->NodeName = A.Name();
|
||||
def->EnumType = (EZCCBuiltinType)B.Int;
|
||||
def->Elements = C;
|
||||
def->Symbol = nullptr;
|
||||
|
||||
// If the first element does not have an explicit value, make it 0.
|
||||
if (C != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue