X-Git-Url: http://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=generator.c;h=673ac3381818c09270f17e002b26b8d1b29ad24c;hp=a802a96f4e071c64496e5df09f6d28cbfad24a58;hb=7bff9378302d5e23c6e9eabe7e6edc8034dcd562;hpb=3376c57aa304940b405940c6463df71c7c1c7f01 diff --git a/generator.c b/generator.c index a802a96..673ac33 100644 --- a/generator.c +++ b/generator.c @@ -81,14 +81,8 @@ oberon_generator_init_type(oberon_context_t * ctx, oberon_type_t * type) } 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)