Mercurial > projects > ldc
view ldc.conf.in @ 1166:c6f39553b702
Clean up some suspicious code.
There's no guarantee a constant of integer type is a ConstantInt, so it's not
safe to just cast<> these to ConstantInt. (It could be a constant expression,
for example)
The code is shorter this way too :).
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 29 Mar 2009 03:27:04 +0200 |
parents | 2cd6199488f6 |
children | b6e819244062 |
line wrap: on
line source
// This configuration file uses libconfig. // See http://www.hyperrealm.com/libconfig/ for syntax details. // The default group is required default: { // 'switches' holds array of string that are appends to the command line // arguments before they are parsed. switches = [ "-I@RUNTIME_DIR@", "-I@RUNTIME_DIR@/lib/common", "-L-L@PROJECT_BINARY_DIR@/../lib", "-d-version=Tango", "-defaultlib=@RUNTIME_AIO@", "-debuglib=@RUNTIME_AIO@" ]; };