bug-make
[Top][All Lists]
Advanced

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

[bug #25190] define expansion seems to lose the final newline


From: Paul D. Smith
Subject: [bug #25190] define expansion seems to lose the final newline
Date: Sun, 28 Dec 2008 07:53:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5

Update of bug #25190 (project make):

                  Status:                    None => Not A Bug              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

This is not a bug.  See the GNU make manual, section "Defining Variables
Verbatim", where it says:

The value in an ordinary assignment cannot contain a newline; but the
newlines that separate the lines of the value in a `define' become part of the
variable's value (_except for the final newline which precedes the `endef' and
is not considered part of the value_).

Note the final parenthetical comment (highlight added).

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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