- make PClass not inherit from PStruct.
Having these two types related can cause problems with detection in the compiler because for some parts they need quite different handling. Common handling for the fields has been moved into PSymbolTable but overall redundancy was quite minor as both types share surprisingly little functionality.
This commit is contained in:
parent
0d7b7d6ab1
commit
96631e8808
12 changed files with 221 additions and 237 deletions
|
|
@ -195,7 +195,7 @@ struct ZCC_Struct : ZCC_NamedNode
|
|||
{
|
||||
VM_UWORD Flags;
|
||||
ZCC_TreeNode *Body;
|
||||
PStruct *Type;
|
||||
PContainerType *Type;
|
||||
VersionInfo Version;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue