Band-aid fix for null type

This commit is contained in:
2026-04-13 13:37:42 +10:00
parent cca98e3e5d
commit 9a6efed426
2 changed files with 6 additions and 0 deletions

View File

@@ -225,6 +225,9 @@ void addArgsToGroundFunction(GroundFunction* function, GroundValueType type, cha
};
GroundValueType stringToValueType(char* in) {
if (in == NULL) {
return ANY;
}
if (strcmp(in, "int") == 0) {
return INT;
}