File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/arduino.cc/builder/ctags Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ import (
3333 "arduino.cc/builder/constants"
3434 "arduino.cc/builder/types"
3535 "arduino.cc/builder/utils"
36+ "bufio"
3637 "os"
3738 "reflect"
3839 "runtime"
3940 "strconv"
4041 "strings"
41- "bufio"
4242)
4343
4444const KIND_PROTOTYPE = "prototype"
@@ -172,12 +172,12 @@ func prototypeAndCodeDontMatch(tag *types.CTag) bool {
172172
173173 // skip lines until we get to the start of this tag
174174 for scanner .Scan () && line < tag .Line {
175- line ++ ;
175+ line ++
176176 }
177177
178178 // read up to 10 lines in search of a closing paren
179179 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 {
181181 newcode += scanner .Text ()
182182 }
183183
You can’t perform that action at this time.
0 commit comments