File tree 1 file changed +3
-3
lines changed
src/arduino.cc/builder/ctags
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ import (
33
33
"arduino.cc/builder/constants"
34
34
"arduino.cc/builder/types"
35
35
"arduino.cc/builder/utils"
36
+ "bufio"
36
37
"os"
37
38
"reflect"
38
39
"runtime"
39
40
"strconv"
40
41
"strings"
41
- "bufio"
42
42
)
43
43
44
44
const KIND_PROTOTYPE = "prototype"
@@ -172,12 +172,12 @@ func prototypeAndCodeDontMatch(tag *types.CTag) bool {
172
172
173
173
// skip lines until we get to the start of this tag
174
174
for scanner .Scan () && line < tag .Line {
175
- line ++ ;
175
+ line ++
176
176
}
177
177
178
178
// read up to 10 lines in search of a closing paren
179
179
newcode := scanner .Text ()
180
- for scanner .Scan () && line < (tag .Line + 10 ) && strings .Index (newcode , ")" ) == - 1 {
180
+ for scanner .Scan () && line < (tag .Line + 10 ) && strings .Index (newcode , ")" ) == - 1 {
181
181
newcode += scanner .Text ()
182
182
}
183
183
You can’t perform that action at this time.
0 commit comments