Mercurial > projects > ldc
view bin/ldmd @ 1627:e83f0778c260
Merge DMD r321: bugzilla 3575 CTFE: member structs not initialized correctly
---
dmd/expression.c | 4 +---
dmd/interpret.c | 32 +++++++++-----------------------
dmd/mtype.c | 48 +++++++++++++++++++++++++++++++++++++++++++-----
dmd/mtype.h | 2 ++
4 files changed, 55 insertions(+), 31 deletions(-)
author | Leandro Lucarella <llucax@gmail.com> |
---|---|
date | Wed, 06 Jan 2010 15:18:23 -0300 |
parents | 593f99fddd2f |
children |
line wrap: on
line source
#! /usr/bin/env bash # Default to 'ldc' next to this file LDC=`dirname "$0"`/ldc if [ ! -x "$LDC" ]; then # If that doesn't work, assume this script was called via $PATH # and do the same for ldc if which ldc &> /dev/null; then LDC=ldc else echo 'ldc not found, check your installation' >/dev/stderr exit 1 fi fi declare -a ARGS IDX=0 for arg; do case "$arg" in -C*) # turn -Cfoo into -foo. # Useful for passing -inline to ldc, for instance. arg="-${arg:2}" ;; -debug|-debug=*|-version=*) arg="-d$arg" ;; -inline) arg="-enable-inlining" ;; -fPIC) arg="-relocation-model=pic" ;; --a|--b|--c|--f|--r|--w|--x|--y) # "Hidden debug switches" # Are these ever used? arg="-hidden-debug${arg:1}" ;; esac ARGS[IDX++]="$arg" done exec "$LDC" "${ARGS[@]}"