Skip to content

Commit 1740c63

Browse files
committed
don't consider already skipped tags as candidates when searching for duplicates
1 parent b8f26e5 commit 1740c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arduino.cc/builder/ctags/ctags_parser.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func removeDuplicate(tags []*types.CTag) {
130130
definedPrototypes := make(map[string]bool)
131131

132132
for _, tag := range tags {
133-
if !definedPrototypes[tag.Prototype] {
133+
if !definedPrototypes[tag.Prototype] && tag.SkipMe == false {
134134
definedPrototypes[tag.Prototype] = true
135135
} else {
136136
tag.SkipMe = true

0 commit comments

Comments
 (0)