diff options
author | johnvg | 2014-10-16 10:37:53 +0000 |
---|---|---|
committer | johnvg | 2014-10-16 10:37:53 +0000 |
commit | 1bea9500b1b56659870e8c94513dc4abcff0f871 (patch) | |
tree | 5b5c93728ab4e228c9e8f8dff366e7f631c6288a /frontend/postparse.icl | |
parent | remove unused constructor TQV of :: type_io.icl (diff) |
move addFunctionsRange after collectFunctions for instances and generic cases,
this adds local functions of instances and generic cases to the ifi_local_function_indices,
in order to check the kinds of these local functions
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2442 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/postparse.icl')
-rw-r--r-- | frontend/postparse.icl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/frontend/postparse.icl b/frontend/postparse.icl index f1dd0ed..7443610 100644 --- a/frontend/postparse.icl +++ b/frontend/postparse.icl @@ -1099,13 +1099,12 @@ scanModule mod=:{mod_ident,mod_type,mod_defs = pdefs} cached_modules support_gen n_global_functions = length fun_defs (fun_defs, ca) = collectFunctions fun_defs True {ca & ca_fun_count=n_global_functions,ca_rev_fun_defs=[]} -// (fun_range, ca) = addFunctionsRange fun_defs ca (macro_defs, ca) = collectFunctions defs.def_macros True ca - (macro_range, ca) = addFunctionsRange macro_defs ca (def_instances, ca) = collectFunctions defs.def_instances True ca (def_generic_cases, ca) = collectFunctions defs.def_generic_cases True ca + (macro_range, ca) = addFunctionsRange macro_defs ca - { ca_error = {pea_file = err_file,pea_ok}, ca_rev_fun_defs, ca_hash_table } = ca + {ca_error = {pea_file = err_file,pea_ok}, ca_rev_fun_defs, ca_hash_table} = ca mod = { mod & mod_imports = imports, mod_imported_objects = imported_objects, mod_foreign_exports = foreign_exports, mod_defs = { defs & def_instances = def_instances, def_generic_cases = def_generic_cases, |