This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

can someone give me help on translating GNU C extensions to Chinese?


hi,I am a Chinese student,and I'm new here.
Recently,I am learning about linux kernel,and has came with a lot of problems.So I begin learning the extensions of GNU C.
Someone had already translated an old version of documents of GNU C extensions to Chinese.But as a pity,there are lots of mistakes,So I decided to translate the GNU C extensions of GCC 4.3.3.
Normally,I have met some problems that I can not solve.So I'd like to know if I can put the questions here? Or Can someone give me help for this translation?
I know that some questions must be easy to you,but when consider the language barrier,I even have no way to solve them.
 
Well,the first one is Slightly Looser Rules for Escaped Newlines
 
the follows are the detail:
/***************************************************************************************************************/

Recently, the preprocessor has relaxed its treatment of escaped newlines. Previously, the newline had to immediately follow a backslash. The current implementation allows whitespace in the form of spaces, horizontal and vertical tabs, and form feeds between the backslash and the subsequent newline. The preprocessor issues a warning, but treats it as a valid escaped newline and combines the two lines to form a single logical line. This works within comments and tokens, as well as between tokens. Comments are not treated as whitespace for the purposes of this relaxation, since they have not yet been replaced with spaces.

/****************************************************************************************************************/ 

 
can someone show me an easy example using this feature,such as a hello world example.And why develops this feature?
 
Thank you very much!
 
best regards!

 				
--------------
mildsim
2009-04-18


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]