10 lines
319 B
C
10 lines
319 B
C
#include "../../include/ground.h"
|
|
|
|
void _GroundFreeArg(GroundArg* in) {
|
|
if (in->type == GroundArg_Value) {
|
|
Ground.Free.Value(&in->as.value);
|
|
} else if (in->type != GroundArg_DirectRef && in->type != GroundArg_Label && in->type != GroundArg_LineRef) {
|
|
Ground.Free.Identifier(in->as.ref);
|
|
}
|
|
}
|