[m-rev.] trivial diff: create subdirs for ilasm output files

Simon Taylor stayl at cs.mu.OZ.AU
Sun Jul 7 02:03:05 AEST 2002


Estimated hours taken: 0.2
Branches: main

compiler/compile_target_code.m
	Create the sub-directories for the ilasm output files.

Index: compile_target_code.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/compile_target_code.m,v
retrieving revision 1.15
diff -u -u -r1.15 compile_target_code.m
--- compile_target_code.m	26 Jun 2002 08:31:23 -0000	1.15
+++ compile_target_code.m	5 Jul 2002 06:56:28 -0000
@@ -156,9 +156,9 @@
 			HasMain, Succeeded) -->
 	module_name_to_file_name(ModuleName, ".il", no, IL_File),
 	( { HasMain = has_main } ->
-		module_name_to_file_name(ModuleName, ".exe", no, TargetFile)
+		module_name_to_file_name(ModuleName, ".exe", yes, TargetFile)
 	;	
-		module_name_to_file_name(ModuleName, ".dll", no, TargetFile)
+		module_name_to_file_name(ModuleName, ".dll", yes, TargetFile)
 	),
 	il_assemble(ErrorStream, IL_File, TargetFile,
 		HasMain, Succeeded).
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list