Merge pull request #477 from liluo/patch-1

added multi line comment flag for python
This commit is contained in:
Ted Nyman
2013-04-24 09:07:28 -07:00

View File

@@ -32,7 +32,8 @@ module Linguist
['/*', '*/'], # C ['/*', '*/'], # C
['<!--', '-->'], # XML ['<!--', '-->'], # XML
['{-', '-}'], # Haskell ['{-', '-}'], # Haskell
['(*', '*)'] # Coq ['(*', '*)'], # Coq
['"""', '"""'] # Python
] ]
START_SINGLE_LINE_COMMENT = Regexp.compile(SINGLE_LINE_COMMENTS.map { |c| START_SINGLE_LINE_COMMENT = Regexp.compile(SINGLE_LINE_COMMENTS.map { |c|