bug-make
[Top][All Lists]
Advanced

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

[bug #16670] Repeated backslash-escaped newlines not POSIXly replaced


From: Paul D. Smith
Subject: [bug #16670] Repeated backslash-escaped newlines not POSIXly replaced
Date: Tue, 02 Jun 2009 14:23:08 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042513 Ubuntu/8.04 (hardy) Firefox/3.0.10

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

OK, the fix for this is simple enough.  However, it does cause user-visible
changes.  It's not so much the replacing of each backslash/newline/following
whitespace with a space that's the issue, it's the fact that TRAILING
whitespace on the previous line is no longer condensed.  The current behavior
basically condenses ALL whitespace starting with the last non-whitespace
character on the previous line and going until the next non-whitespace
character (where backslash/newline are considered whitespace) and replaces it
with a single space.  So, in the current version of make this:

FOO = a        
     b

Gives a value of $(FOO) that is "a b".  In the new behavior this would give
"a         b", because the trailing whitespace on the previous line is
preserved, plus one extra space for the backslash/newline/following
whitespace.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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