Skip to content

Commit

Permalink
Suppress false warnings for .inc files
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc committed May 4, 2023
1 parent 74616f5 commit 859a24b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/generator/context.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ function find_dependent_headers(headers::Vector{T}, args::Vector, system_dirs) w
end
end
catch err
@warn "failed to parse $header, skip..."
if !endswith(header, ".inc")
@warn "failed to parse $header, skip..."
end
continue
end
end
Expand Down

0 comments on commit 859a24b

Please sign in to comment.