Add struct field access
This commit is contained in:
@@ -168,6 +168,8 @@ static GroundInstType getInstructionType(const char* inst) {
|
||||
if (strcmp(inst, "struct") == 0) return STRUCT;
|
||||
if (strcmp(inst, "endstruct") == 0) return ENDSTRUCT;
|
||||
if (strcmp(inst, "init") == 0) return INIT;
|
||||
if (strcmp(inst, "getfield") == 0) return GETFIELD;
|
||||
if (strcmp(inst, "setfield") == 0) return SETFIELD;
|
||||
if (strcmp(inst, "use") == 0) return USE;
|
||||
if (strcmp(inst, "extern") == 0) return EXTERN;
|
||||
if (strcmp(inst, "drop") == 0) return DROP;
|
||||
|
||||
Reference in New Issue
Block a user