mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
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:
parent
34f490af57
commit
8dc1fdeee0
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue