mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Don't break C++ style (//) comments during auto-format.
http://code.google.com/p/arduino/issues/detail?id=255
This commit is contained in:
@ -241,7 +241,7 @@ public class AutoFormat implements Tool {
|
|||||||
public void cpp_comment() throws IOException
|
public void cpp_comment() throws IOException
|
||||||
{
|
{
|
||||||
c = getchr();
|
c = getchr();
|
||||||
while(c != '\n' && c != '\r' && j<133)
|
while(c != '\n' && c != '\r')
|
||||||
{
|
{
|
||||||
string[j++] = c;
|
string[j++] = c;
|
||||||
c = getchr();
|
c = getchr();
|
||||||
|
Reference in New Issue
Block a user