Add coq comments

This commit is contained in:
Joshua Peek
2012-07-20 14:45:19 -05:00
parent 0dcca7228d
commit d063089430
2 changed files with 7 additions and 0 deletions

View File

@@ -72,6 +72,12 @@ module Linguist
s.skip_until(/-->/)
tokens << "-->"
# Coq multiline comments
elsif token = s.scan(/\(\*/)
tokens << "(*"
s.skip_until(/\*\)/)
tokens << "*)"
# Skip single or double quoted strings
elsif s.scan(/"/)
s.skip_until(/[^\\]"/)