[Issue 896] New: gdmd (dmd-script) script broken for certain parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 27 19:25:22 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=896

           Summary: gdmd (dmd-script) script broken for certain parameters
           Product: DGCC aka GDC
           Version: 0.21
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: sean at f4.ca


The Hd and Hf parameters construct their arguments like so:

    } elsif ( $arg =~ m/^-Hd(.*)$/ ) {
        push @out, '-fintfc-dir=$1';
    } elsif ( $arg =~ m/^-Hf(.*)$/ ) {
        push @out, '-fintfc-file=$1';

but these lines should be:

    } elsif ( $arg =~ m/^-Hd(.*)$/ ) {
        push @out, "-fintfc-dir=$1";
    } elsif ( $arg =~ m/^-Hf(.*)$/ ) {
        push @out, "-fintfc-file=$1";

ie. replace the single with double quotes.


-- 



More information about the D.gnu mailing list