Closed
Description
The line continuation character \ is not parsed by the syntax highlighting if it's part of a line comment.
// I start a comment on this line but I end with the line continuation character \
byte test = 5; //This WHOLE line is a comment because of the line continuation character on the last line
//The byte test is thereby NOT declared but the syntax highlighting of the IDE does not display it as comment
This way it's easy for a newbie to do this without knowing what's wrong. If the line was highlighted as comment the error would have been more clear.
Link to a case where it happened:
http://forum.arduino.cc/index.php?topic=449738.0
Metadata
Metadata
Assignees
Labels
No labels