Re: Yet another patch (dmd.py this time)

Lars Ivar Igesund <[email protected]> Sat, 24 Apr 2004 15:06:59 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
It seems like this isn't implemented. How and where?

Lars Ivar

Lars Ivar Igesund wrote:

> Bram Moolenaar wrote:
> 
>> Lars -
>>
>>
>>>> For me using $?var when $var was not set is equivalent to use $var when
>>>> it is empty.  Thus I don't think the precense of a '?' should matter.
>>>
>>>
>>> Reading the docs more thouroughly, I have to agree.
>>>
>>> So my conclusion on how I want it:
>>>
>>> During RC-expansion, the result should be nothing if all expanded
>>> variables are empty.
>>
>>
>>
>> I would agree with you, except that I can think of a situation where you
>> don't want it this way:
>>
>>     LIBS = one two
>>     NOLIBS =
>>     ext = .lib
>>     noext =
>>
>>     :print - lib$*LIBS$ext -
>>     :print - lib$*LIBS$noext -
>>         :print - lib$*NOLIBS$ext -
>>         :print - lib$*NOLIBS$noext -
>>
>> What would you expect to be the result?  I would think this:
>>
>>     - libone.lib libtwo.lib -
>>     - libone libtwo -
>>     - -
>>     - -
>>
>> Agreed?
>>
>> I think the rule should be that $*var expansion is empty when $var is
>> empty.  Whether something follows or not is irrelevant.
> 
> 
> Good example. I agree.
> 
> Lars Ivar Igesund
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> A-A-P-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/a-a-p-develop
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297