* part of r21120, forgot to commit

git-svn-id: trunk@21128 -
This commit is contained in:
Jonas Maebe 2012-04-29 22:27:05 +00:00
parent dd03bc3e66
commit 9c0ec8ee8c

View File

@ -305,7 +305,7 @@ implementation
begin
if (infile<>lastinfile) then
begin
AsmWriteLn(target_asm.comment+'['+infile.name^+']');
AsmWriteLn(target_asm.comment+'['+infile.name+']');
if assigned(lastinfile) then
lastinfile.close;
end;
@ -530,7 +530,7 @@ implementation
AsmWriteLn('.bytecode 49.0');
// include files are not support by Java, and the directory of the main
// source file must not be specified
if assigned(current_module.mainsource) then
if current_module.mainsource<>'' then
n:=ExtractFileName(current_module.mainsource)
else
n:=InputFileName;