Skip to content

Commit 173974f

Browse files
committed
"go fmt" pass
Signed-off-by: Cristian Maglie <[email protected]>
1 parent 596c0b5 commit 173974f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/arduino.cc/builder/ctags/ctags_parser.go

+3-3
Original file line numberDiff line numberDiff 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

4444
const 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

0 commit comments

Comments
 (0)