Description
This is Issue 956 moved from a Google Code project.
Added by 2012-06-11T10:01:57.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium, Component-Core
Original description
I'm using Arduino 1.0.1 and added some comments to a .h file to describe some constants. Some lines contained a backslash at the end. I was surprised that my software did not work correctly. It took me a long time to find out that the trailing backslash was the reason because in the case the next line also will be treated as comment. It would have been much easier for me to find this out if the syntax coloring would have shown the next line in "comment color", too.
Example:
unsigned char values[] = {
45, 12, 56, //
45, 13, 57,
45, 13, 58
};
will be treated as
unsigned char values[] = {
45, 12, 56,
45, 13, 58
};
by the compiler.