[pkg-d-commits] [ldc] 38/211: main(): Recognize .map files in command line although we ignore them

Matthias Klumpp mak at moszumanska.debian.org
Sun Apr 23 22:36:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.1.0
in repository ldc.

commit d03dd9da19da0586a7e282e9ec1c3d34ae1370f2
Author: Martin <noone at nowhere.com>
Date:   Thu Sep 22 11:12:52 2016 +0200

    main(): Recognize .map files in command line although we ignore them
    
    To reduce the front-end diff.
---
 ddmd/mars.d | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ddmd/mars.d b/ddmd/mars.d
index 005fc50..9b0e747 100644
--- a/ddmd/mars.d
+++ b/ddmd/mars.d
@@ -1291,14 +1291,11 @@ extern (C++) int mars_mainBody(ref Strings files, ref Strings libmodules)
                 global.params.jsonfilename = files[i];
                 continue;
             }
-          version (IN_LLVM) {} else
-          {
             if (FileName.equals(ext, global.map_ext))
             {
                 global.params.mapfile = files[i];
                 continue;
             }
-          }
             static if (TARGET_WINDOS)
             {
                 if (FileName.equals(ext, "res"))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list