Fix spelling of Perl 6 (#3672)

Resolves #3671.
This commit is contained in:
John Gardner
2017-06-20 19:39:39 +10:00
committed by GitHub
parent 9312353d20
commit 128abe3533
26 changed files with 13 additions and 13 deletions

View File

@@ -340,13 +340,13 @@ module Linguist
elsif /use strict|use\s+v?5\./.match(data)
Language["Perl"]
elsif /^(use v6|(my )?class|module)/.match(data)
Language["Perl6"]
Language["Perl 6"]
end
end
disambiguate ".pm" do |data|
if /^\s*(?:use\s+v6\s*;|(?:\bmy\s+)?class|module)\b/.match(data)
Language["Perl6"]
Language["Perl 6"]
elsif /\buse\s+(?:strict\b|v?5\.)/.match(data)
Language["Perl"]
end
@@ -446,7 +446,7 @@ module Linguist
if /^\s*%[ \t]+|^\s*var\s+\w+\s*:=\s*\w+/.match(data)
Language["Turing"]
elsif /^\s*(?:use\s+v6\s*;|\bmodule\b|\b(?:my\s+)?class\b)/.match(data)
Language["Perl6"]
Language["Perl 6"]
elsif /\buse\s+(?:strict\b|v?5\.)/.match(data)
Language["Perl"]
end

View File

@@ -3210,7 +3210,7 @@ Perl:
interpreters:
- perl
language_id: 282
Perl6:
Perl 6:
type: programming
color: "#0000fb"
extensions: