Re: Soft return in XCode
Re: Soft return in XCode
- Subject: Re: Soft return in XCode
- From: Dong Feng <email@hidden>
- Date: Thu, 27 May 2010 23:10:47 +0800
It incurs no problem to use back slash for multi-line macros, because almost all macro definitions are insensitive to token delimiters (i.e. blanks, tabs). That means, while using back-slash for multi-line connector, you can still maintain correct indention (and macro definitions are usually outside any function and name space, so the indention issue are further out of concern).
However, if back-slash had been used as a solution for multi-line literal string, the indention problem would be serious because string definitions are definitely sensitive to any characters contained between the quote mark pair.
2010/5/27 Scott Ribe
<email@hidden>
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.
I think what people are confusing is that \ line termination is standard for multi-line macros.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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
_______________________________________________
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