bug-make
[Top][All Lists]
Advanced

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

[bug #18561] Why backslash line continuation introduce an extra space


From: Paul D. Smith
Subject: [bug #18561] Why backslash line continuation introduce an extra space
Date: Mon, 29 Jan 2007 16:07:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20060601 Firefox/2.0.0.1 (Ubuntu-edgy)

Update of bug #18561 (project make):

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

    _______________________________________________________

Follow-up Comment #1:

It is by design; in fact it's mandated by the POSIX standard for make, which
states:

> When an escaped <newline> (one preceded by a backslash) is found
> anywhere in the makefile except in a command line, it shall be
> replaced, along with any leading white space on the following
> line, with a single <space>.

Since there is no limit to the length of a physical line in a makefile in GNU
make, I suggest you only break physical lines at whitespace.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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