lib/linguist/heuristics.rb in github-linguist-6.0.1 vs lib/linguist/heuristics.rb in github-linguist-6.1.0
- old
+ new
@@ -516,9 +516,11 @@
disambiguate ".x" do |data|
if /\b(program|version)\s+\w+\s*{|\bunion\s+\w+\s+switch\s*\(/.match(data)
Language["RPC"]
elsif /^%(end|ctor|hook|group)\b/.match(data)
Language["Logos"]
+ elsif /OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS/.match(data)
+ Language["Linker Script"]
end
end
end
end