diff options
author | johnvg | 2005-11-22 16:06:31 +0000 |
---|---|---|
committer | johnvg | 2005-11-22 16:06:31 +0000 |
commit | 6bd646a4e6ba7b3de7bdc6d781e592ced5da1550 (patch) | |
tree | 4613c38603d34c1d0065d15d6537d2686a273e1e /frontend/postparse.icl | |
parent | removed some code that has no effect (diff) |
remove unused variable n_functions_and_macros_in_dcl_modules
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1575 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/postparse.icl')
-rw-r--r-- | frontend/postparse.icl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/frontend/postparse.icl b/frontend/postparse.icl index 4cd3239..55c9ee8 100644 --- a/frontend/postparse.icl +++ b/frontend/postparse.icl @@ -1062,7 +1062,7 @@ where = (pea_ok && import_ok, parsed_modules,files, ca) scanModule :: !ParsedModule ![Ident] !Bool !Bool !*HashTable !*File !SearchPaths (ModTimeFunction *Files) !*Files - -> (!Bool, !ScannedModule, !IndexRange, ![FunDef], !Optional ScannedModule, ![ScannedModule],!Int,!Int,!*HashTable, !*File, !*Files) + -> (!Bool, !ScannedModule, !IndexRange, ![FunDef], !Optional ScannedModule, ![ScannedModule],!Int,!*HashTable, !*File, !*Files) scanModule mod=:{mod_ident,mod_type,mod_defs = pdefs} cached_modules support_generics support_dynamics hash_table err_file searchPaths /*predefs*/ modtimefunction files # predefIdents = predefined_idents # ca = { ca_error = {pea_file = err_file, pea_ok = True} @@ -1081,8 +1081,6 @@ scanModule mod=:{mod_ident,mod_type,mod_defs = pdefs} cached_modules support_gen (pea_dcl_ok,optional_dcl_mod,ca) = collect_main_dcl_module optional_parsed_dcl_mod dcl_module_n ca - (n_functions_and_macros_in_dcl_modules,ca) =ca!ca_fun_count - modules = case (reverse parsed_modules) of [{mod_type=MK_NoMainDcl}:modules] -> modules @@ -1113,7 +1111,7 @@ scanModule mod=:{mod_ident,mod_type,mod_defs = pdefs} cached_modules support_gen fun_defs = fun_defs++reverse ca_rev_fun_defs fun_range = {ir_from=0,ir_to=n_global_functions} - = (reorganise_icl_ok && pea_ok && import_dcl_ok && import_dcls_ok, mod, fun_range, fun_defs, optional_dcl_mod, modules, dcl_module_n,n_functions_and_macros_in_dcl_modules,hash_table, err_file, files) + = (reorganise_icl_ok && pea_ok && import_dcl_ok && import_dcls_ok, mod, fun_range, fun_defs, optional_dcl_mod, modules, dcl_module_n,hash_table, err_file, files) where scan_main_dcl_module :: Ident ModuleKind (ModTimeFunction *Files) *Files *CollectAdmin -> (!Bool,!Optional (Module (CollectedDefinitions (ParsedInstance FunDef) [FunDef])),!Int,![ScannedModule],![Ident],!*Files,!*CollectAdmin) scan_main_dcl_module mod_ident MK_Main _ files ca |