Added support for Perl single-line comments.

Multi-line POD comments in Perl are not supported for now; they are a
little hairy and probably require a little extra work in order to be
parsed correctly.
This commit is contained in:
Adam Waldenberg 2013-05-06 11:36:04 +02:00
parent 34f490af57
commit 8dc1fdeee0
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ __comment_begining__ = {"java": "/*", "c": "/*", "cpp": "/*", "h": "/*", "hpp":
__comment_end__ = {"java": "*/", "c": "*/", "cpp": "*/", "h": "*/", "hpp": "*/", "py": "\"\"\"", "glsl": "*/",
"rb": "=end", "js": "*/", "sql": "*/", "xml": "-->"}
__comment__ = {"java": "//", "c": "//", "cpp": "//", "h": "//", "hpp": "//", "py": "#", "glsl": "//",
__comment__ = {"java": "//", "c": "//", "cpp": "//", "h": "//", "hpp": "//", "pl": "#", "py": "#", "glsl": "//",
"rb": "#", "js": "//", "sql": "--"}
def is_comment(extension, string):