Re: Soft return in XCode
Re: Soft return in XCode
- Subject: Re: Soft return in XCode
- From: Marco S Hyman <email@hidden>
- Date: Thu, 27 May 2010 11:45:16 -0700
On May 27, 2010, at 6:54 AM, Scott Ribe wrote:
> On May 27, 2010, at 3:22 AM, Alastair Houghton wrote:
>
>> Isn't that a GCC extension? I don't think that one made it into C99...
>
> Yes, I think.
The GCC extension is to allow whitespace between the backslash and
the newline. Using backslash newline as a line continuation goes
back to at least PCC (1978).
My 1984 version of Harbison & Steele (the C bible of its day) says:
"A string constant must be contained on one source program line
except if the last character of the line is a backslash \ character,
in which case the backslash and end-of-line character(s) are
ignored."
However, I don't see it mentioned in K&R.
> I think what people are confusing is that \ line termination is standard for multi-line macros.
It's not line termination, it's line continuation. It is pretty
much standard for just about everything from awk to shell.
/\/\arc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden