diff --git a/generator.c b/generator.c
index a802a96f4e071c64496e5df09f6d28cbfad24a58..673ac3381818c09270f17e002b26b8d1b29ad24c 100644 (file)
--- a/generator.c
+++ b/generator.c
}
else if(type -> class == OBERON_TYPE_ARRAY)
{
- if(type -> dim != 1)
- {
- oberon_error(ctx, "multidimension and open arrays not supported");
- }
-
gen_type_t * gen_base = type -> base -> gen_type;
gcc_jit_type * gcc_base = gen_base -> gcc_type;
-
gcc_type = gcc_jit_context_new_array_type(gcc_context, NULL, gcc_base, type -> size);
}
else if(type -> class == OBERON_TYPE_RECORD)