I edit a file out side of uVision(Microsoft Visual Studio),such as:
...... first line second line ......
...... first line secon line ......
Looks like Keil decides how to treat lineends based on the first one in the file, ie if the first is a linefeed only treat all subsequent carriage returns and linefeeds as individual lineends. You seem to be using an editor which terminates some lines with LF and some with CRLF. I'd suggest not using that editor, or using some utility to sort out the lineend sequences. Stefan