added multi line comment flag for python

This commit is contained in:
2013-04-19 15:33:02 +08:00
parent 8b5b8a9760
commit 0bc28d9424

View File

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