Skip to content

Commit c29a3d9

Browse files
committed
Fixing linter
1 parent 76eac4b commit c29a3d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/extractors/cppextractor/cppmacro.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ func expandTokens(toks []token, table macroTable, hide map[string]bool, depth in
275275
for j < len(toks) && toks[j].kind == tkSpace {
276276
j++
277277
}
278-
if j >= len(toks) || !(toks[j].kind == tkPunct && toks[j].text == "(") {
278+
if j >= len(toks) || toks[j].kind != tkPunct || toks[j].text != "(" {
279279
out = append(out, t)
280280
i++
281281
continue

0 commit comments

Comments
 (0)