mirror of https://github.com/noisymime/Arduino.git
Don't break C++ style (//) comments during auto-format.
http://code.google.com/p/arduino/issues/detail?id=255
This commit is contained in:
parent
6036846ce3
commit
6030f9670b
|
@ -241,7 +241,7 @@ public class AutoFormat implements Tool {
|
|||
public void cpp_comment() throws IOException
|
||||
{
|
||||
c = getchr();
|
||||
while(c != '\n' && c != '\r' && j<133)
|
||||
while(c != '\n' && c != '\r')
|
||||
{
|
||||
string[j++] = c;
|
||||
c = getchr();
|
||||
|
|
Loading…
Reference in New Issue