Fix singleton variable that breaks expanding a relative file path

This commit is contained in:
Paulo Moura 2013-11-11 16:38:04 +00:00
parent a2fc06df36
commit 16e3bda666

View File

@ -948,6 +948,8 @@ absolute_file_name(File,Opts,TrueFileName) :-
( is_absolute_file_name(File) ->
ActualFile = File
;
'$dir_separator'(D),
atom_codes(DA,[D]),
atom_concat([RelTo, DA, File], ActualFile)
)
;