Commit d41fc254 authored by John van Groningen's avatar John van Groningen
Browse files

if -o abc_file_name is specified use this file name for the abc file (this...

if -o abc_file_name is specified use this file name for the abc file (this stopped working when creating the abc file was moved from the backend c code to Clean code)
parent 1ad3be8e
......@@ -326,9 +326,12 @@ compileModule options backendArgs cache=:{dcl_modules,functions_and_macros,prede
= case optionalSyntaxTree of
Yes syntaxTree
# functions_and_macros = syntaxTree.fe_icl.icl_functions
# (Yes path) = mbModPath
# (csf_dir_exists,abc_file_path,error,files) = abc_file_name_in_clean_system_files_folder path options.moduleName error files
# (success,var_heap,type_var_heap,attrHeap,error,out,files)
(Yes path) = mbModPath
(csf_dir_exists,abc_file_path,error,files)
= if (size options.outputPathName==0)
(abc_file_name_in_clean_system_files_folder path options.moduleName error files)
(True,options.outputPathName,error,files)
(success,var_heap,type_var_heap,attrHeap,error,out,files)
= backEndInterface abc_file_path (map appendRedirection backendArgs) options.listTypes options.outPath predef_symbols syntaxTree main_dcl_module_n
var_heap type_var_heap attrHeap error out files
-> (success,functions_and_macros,var_heap,type_var_heap,attrHeap,error,out,files)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment