[m-rev.] For review: Bug fix for compile_target_code.m
James Goddard
goddardjames at yahoo.com
Thu Feb 5 20:42:24 AEDT 2004
Estimated hours taken: 0.1
Branches: main
compiler/compile_target_code.m:
Added the missing space in between the java compiler flags and the
input filename when invoking the java compiler, so commands such
as:
javac -gHelloWorld.java
become
javac -g HelloWorld.java
Index: compile_target_code.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/compile_target_code.m,v
retrieving revision 1.50
diff -u -d -r1.50 compile_target_code.m
--- compile_target_code.m 27 Oct 2003 06:00:35 -0000 1.50
+++ compile_target_code.m 2 Feb 2004 03:08:56 -0000
@@ -707,7 +707,7 @@
% Be careful with the order here! Some options may override others.
% Also be careful that each option is separated by spaces.
{ string__append_list([JavaCompiler, " ", InclOpt, DestDir,
- Target_DebugOpt, JAVAFLAGS, JavaFile], Command) },
+ Target_DebugOpt, JAVAFLAGS, " ", JavaFile], Command) },
invoke_system_command(ErrorStream, verbose_commands,
Command, 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