aboutsummaryrefslogtreecommitdiff
path: root/frontend/checkgenerics.icl
diff options
context:
space:
mode:
authorjohnvg2012-10-24 12:55:27 +0000
committerjohnvg2012-10-24 12:55:27 +0000
commit7626b3295651046b1d0f61ea37be27db6c046ab2 (patch)
tree41be1d082afdcf1444681927528270965fdd9882 /frontend/checkgenerics.icl
parentreport a parse error if a strictness annotation or uniqueness attribute is us... (diff)
in the generic representation use RECORD instead of OBJECT and CONS for records,
change GenericInfo git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2191 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/checkgenerics.icl')
-rw-r--r--frontend/checkgenerics.icl2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/checkgenerics.icl b/frontend/checkgenerics.icl
index c4a05da..ddc2305 100644
--- a/frontend/checkgenerics.icl
+++ b/frontend/checkgenerics.icl
@@ -44,7 +44,7 @@ where
# initial_info =
{ gen_classes = createArray 32 []
, gen_var_kinds = []
- , gen_OBJECT_CONS_FIELD_indices = createArray 3 {ocf_module = -1,ocf_index = -1,ocf_ident={id_name="",id_info=nilPtr}}
+ , gen_rep_conses = createArray 4 {gcf_module = -1,gcf_index = -1,gcf_ident={id_name="",id_info=nilPtr}}
}
# (gen_info_ptr, hp_generic_heap) = newPtr initial_info hp_generic_heap
= ( {gen_def & gen_info_ptr = gen_info_ptr},