µVISION: SOURCE LINE AFTER A COMMENT IS IGNORED
Information in this article applies to:
I have a comment line following by a source code line:
// this is my comment P1 = 0xAA;
When I build my project it appears that the source code line is being ignored! This is causing all kinds of problems for my application.
The '\' character directs the C compiler to concatenate the following line with the current line. In the example above, this causes the source code line to be joined onto the end of the comment, and therefore comments the code out.
Remove the '\' from the end of the comment.
Last Reviewed: Thursday, October 5, 2000
of your data.