bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #46995] Within 'define' newline is treated as non whitespace


From: Brian Vandenberg
Subject: [bug #46995] Within 'define' newline is treated as non whitespace
Date: Mon, 14 Mar 2016 18:08:01 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #1, bug #46995 (project make):

I don't know whether they'll want to fix this, but this is the pattern I use
for situations like that:


define SOMETHING =
$(foreach variable,
  list of values
, expression
)
endef


I would prefer leading commas as in:

define SOMETHING =
$(foreach variable
, list of values
, expression
)
endef


... because it's both readable and easier on the eyes in peer reviews, but the
way $(foreach) reads its 1st argument makes that unworkable.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46995>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]