[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #46995] Within 'define' newline is treated as non whitespace
From: |
Gur Stavi |
Subject: |
[bug #46995] Within 'define' newline is treated as non whitespace |
Date: |
Tue, 15 Mar 2016 09:44:13 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #2, bug #46995 (project make):
Thanks for the extra info Brian.
So I understand that the problem actually is that foreach adds whitespace into
variable name.
$(foreach var , $(LIST), do something with $(var ))
while in contrast for example 'call' knows to strip whitespace from a var name
so this:
$(call var ,$(ARG))
will actually invoke $(var) and not $(var ).
Don't think I can change the bug topic.
Is that a known issue with an already open bug?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46995>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/