Merge pull request #2592 from jtbandes/typo

Fix typo in Obj-C heuristic keyword
This commit is contained in:
Arfon Smith
2015-08-26 12:52:05 +01:00

View File

@@ -65,7 +65,7 @@ module Linguist
end
# Common heuristics
ObjectiveCRegex = /^[ \t]*@(interface|class|protocol|property|end|synchronised|selector|implementation)\b/
ObjectiveCRegex = /^[ \t]*@(interface|class|protocol|property|end|synchronized|selector|implementation)\b/
disambiguate ".bb" do |data|
if /^\s*; /.match(data) || data.include?("End Function")