A character with the value of zero is appened to the end of the editor file, so the RealView compiler give an error message: Invalid character in input line. This does not always occur, but very often!!
I have tested a file, and the error can be repeated easily. As I cannot attach the file, it has been sent to webmaster@keil.com