• sparonuz's avatar
    # This is a combination of 69 commits. · 3ee17b6a
    sparonuz authored
    [refactor_parseSources]: The idea is to always read the sources into load_source_files routine, and remove a lot of useless steps
    
    [refactor_parseSources]: Managed case in which two function with the same name exist
    
    [develop]: moved and improved  regex for capturing subprogram calls
    
    [develop]: Fix get_procedure_by_name that was a bit of a mess
    
    [develop]: mv source_file to source_file_info + fixed storage of interface (everything was doubled) + imports
    
    [develop]: Now basic structures have module info
    
    [develop]: Intruduced function to get derived type constructor
    
    [develop]: Now call_to_function does not recognize structures as functions
    
    [develop]: New regex for  split_read_arguments
    
    [develop]: Introduced get_procedure function: is meant to replace calls_to_subprogram and the great number of fixed within. It does not identify vectors as funcions.
    
    [develop]: _fix_functions has been refactored, it was a mess of useless call
    
    [develop]: Now module also have the lines saved in it, and a function to rebuild text
    
    [develop]: Save vault added as a function to vault
    
    [develop]: Moved load vault and save vault to Vault file. Now parse source is called inside the Vault constructor
    
    [develop]: Added function to find var used in namelist, function split_by_appearance_in_namelist was taking around 3/4 minutes. Now we parse this info in parse sources, and this function takes around 1 sec
    
    [develop]: removed old function + simplified regex for finding function/srb declaration
    
    [develop]: Moved function clean_contents from cleaner to Getter
    
    [develop]: Simplified function to detect subrutine calls
    
    [develop]: Refactored function fix subroutine
    
    [develop]: Added function to fix externals
    
    [develop]: Refactored ImplementRPE, now this class is used just for Implementing RPE
    
    [develop]: Added function to store external subroutine used
    
    [develop]: Removed functions fix_functions fix_subroutines fix_external_subroutines , and replaced by fix_subprogram
    
    [develop]: Now also used external functions are stored in vault. Bettered regex for call_to_functions
    
    [develop]: Removed functions to parse implicit functions, that are no more used, anyway they are store in https://earth.bsc.es/gitlab/otinto/AutoRPE/-/snippets/73
    
    [develop]: Removed from Inserter all the duplicated function that were searching variables in sbr call to truncate then the var.
    
    [Issue#107]: Removed DerivedTypeDealer, and moved functions elsewhere
    
    [Issue#107]: Now the get_real_in_line uses the get_procedure, and does a check on the pointer. Removed _clean_from_intrinsics, now uses strip_from_intrinsics.
    3ee17b6a
FindVariablesUsedInExternalCalls.py 5.23 KB