forked from ground/cground
Bug fixes
This commit is contained in:
@@ -16,6 +16,17 @@ typedef struct GroundLabel {
|
||||
UT_hash_handle hh;
|
||||
} GroundLabel;
|
||||
|
||||
typedef struct GroundVariable {
|
||||
char id[MAX_ID_LEN];
|
||||
GroundValue value;
|
||||
UT_hash_handle hh;
|
||||
} GroundVariable;
|
||||
|
||||
typedef struct GroundScope {
|
||||
GroundLabel** labels;
|
||||
GroundVariable** variables;
|
||||
} GroundScope;
|
||||
|
||||
void interpretGroundProgram(GroundProgram* in);
|
||||
void interpretGroundInstruction(GroundInstruction* in);
|
||||
void interpretGroundInstruction(GroundInstruction* in, GroundScope* scope);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user