Begin work on reworked extern instruction
This commit is contained in:
@@ -126,7 +126,8 @@ struct GroundError {
|
||||
enum GroundTypeType {
|
||||
GroundType_Int, GroundType_Double, GroundType_Char, GroundType_Bool,
|
||||
GroundType_String, GroundType_List,
|
||||
GroundType_Function, GroundType_Struct, GroundType_Object
|
||||
GroundType_Function, GroundType_Struct, GroundType_Object,
|
||||
GroundType_CoreType,
|
||||
};
|
||||
|
||||
struct GroundType {
|
||||
@@ -152,6 +153,8 @@ struct GroundValue {
|
||||
GroundFunction Function;
|
||||
GroundStruct Struct;
|
||||
GroundObject Object;
|
||||
|
||||
enum GroundTypeType CoreType;
|
||||
} as;
|
||||
|
||||
GroundType type;
|
||||
@@ -313,6 +316,9 @@ struct GroundBytecodeValue {
|
||||
GroundBytecodeFunction Function;
|
||||
GroundBytecodeStruct Struct;
|
||||
GroundBytecodeObject Object;
|
||||
|
||||
// For core types
|
||||
enum GroundTypeType CoreType;
|
||||
} as;
|
||||
|
||||
GroundType type;
|
||||
|
||||
Reference in New Issue
Block a user