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: Sat, 03 Mar 2012 18:53:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

Update of bug #16670 (project make):

                  Status:                    None => Fixed                  
             Assigned to:                    None => psmith                 
             Open/Closed:                    Open => Closed                 
           Fixed Release:                    None => CVS                    

    _______________________________________________________

Follow-up Comment #3:

I modified the .POSIX pseudo target behavior so that if it's set, then we get
POSIX-style backslash/newline handling.  The default, though, remains the GNU
make method.

If you want to portably get the POSIX behavior without specifying .POSIX, you
can do this:


# empty variable
E =
FOO = a      $E
$E
b

That is, add empty variable references so that the parser doesn't think that
the backslash/newlines are really consecutive, and that the whitespace is not
trailing.

    _______________________________________________________

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]