From a1d83ead9e9084c7a799e0a33c9a8542722fbf81 Mon Sep 17 00:00:00 2001 From: Adam Waldenberg Date: Thu, 5 Dec 2013 08:47:20 +0100 Subject: [PATCH] Added support for comments in .hh files. --- gitinspector/comment.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gitinspector/comment.py b/gitinspector/comment.py index 16c1cb4..1144b52 100644 --- a/gitinspector/comment.py +++ b/gitinspector/comment.py @@ -19,16 +19,16 @@ from __future__ import unicode_literals -__comment_begining__ = {"java": "/*", "c": "/*", "cc": "/*", "cpp": "/*", "h": "/*", "hpp": "/*", "html": "", "php": "/*", - "py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "scala": "*/", "sql": "*/", - "tex": "\\end{comment}", "xhtml": "-->", "xml": "-->"} +__comment_end__ = {"java": "*/", "c": "*/", "cc": "*/", "cpp": "*/", "h": "*/", "hh": "*/", "hpp": "*/", "html": "-->", + "php": "/*", "py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "scala": "*/", + "sql": "*/", "tex": "\\end{comment}", "xhtml": "-->", "xml": "-->"} -__comment__ = {"java": "//", "c": "//", "cc": "//", "cpp": "//", "h": "//", "hpp": "//", "pl": "#", "php": "//", "py": "#", - "glsl": "//", "rb": "#", "js": "//", "scala": "//", "sql": "--", "tex": "%"} +__comment__ = {"java": "//", "c": "//", "cc": "//", "cpp": "//", "h": "//", "hh": "//", "hpp": "//", "pl": "#", "php": "//", + "py": "#", "glsl": "//", "rb": "#", "js": "//", "scala": "//", "sql": "--", "tex": "%"} __comment_markers_must_be_at_begining__ = {"tex": True}